You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pete Starzewski <ps...@gbp.com> on 2002/02/19 21:25:49 UTC

ServerPath directive problems

Hi,

I am new to the list, but not new to apache and I am having a heck of a 
time getting the ServerPath directive to work.  I have set up several name 
based virtual machines on a server and they work GREAT with HTTP/1.1 
browsers.  As expected HTTP/1.0 requests down't work, so I am trying to 
setup a ServerPath statement to handle them.  Unfortunately, it doesn't 
work.  I have been through the docs and I can't see where I am going 
wrong.  Any ideas would be appreciated.  I am enclosing my virtual server 
configs.

#
# Use name-based virtual hosting.
#
NameVirtualHost 10.8.1.7

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
<VirtualHost 10.8.1.7>
ServerName milweb.gbp.com
DocumentRoot "/u/mil/web"

<Directory "/u/mil/web">
         AllowOverride None
         Options Includes
         Options ExecCGI
         Order allow,deny
         Allow from all
</Directory>

ScriptAlias /mil/cgi-bin/ "/u/mil/web/mil/cgi-bin/"

<Directory "/u/mil/web/mil/cgi-bin/">
         AllowOverride None
         Options ExecCGI
         XBitHack on
         Order allow,deny
         Allow from all
</Directory>
</VirtualHost>

<VirtualHost 10.8.1.7>
ServerPath "/webmail/"
DocumentRoot /u/webmail
ServerName webmail.gbp.com

<Directory /u/webmail>
         AllowOverride None
         Options Includes FollowSymLinks
         Order allow,deny
         Allow from all
</Directory>

ScriptAlias /webmail/cgi-bin/ /u/webmail/webmail/cgi-bin/

<Directory /u/webmail/webmail/cgi-bin/>
         AllowOverride None
         Options ExecCGI
         XBitHack on
         Order allow,deny
         Allow from all
</Directory>

</VirtualHost>

Pete Starzewski
Network Systems Engineer
Green Bay Packaging Inc.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org