|
It seems to me that while you have defined the
document root for each VH, you have not defined the directory access for
each host.
See my attachment which is similar to what I use in
Apache2 on this Windoze machine and also in Apache 1.3 on my Linux
server.
Hope this helps,
Trevor
|
###### SECTION 3 VIRTUAL HOSTS ###### ############################################################################ # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs-2.0/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # #Use name-based virtual hosting. NameVirtualHost *:80 NameVirtualHost 192.168.1.9:80 # # ###### VIRTUAL HOST 00 NO KNOWN SERVER NAME ###### # <VirtualHost *:80> ServerAdmin [EMAIL PROTECTED] ServerName website01.domainA.com DocumentRoot "F:/websites/website01" </VirtualHost> # ###### VIRTUAL HOST 01 ###### # <VirtualHost 192.168.1.9:80> ServerAdmin [EMAIL PROTECTED] ServerName website01.domainA.com ServerAlias website01.domainA.com www.website01.domainA.com DocumentRoot "F:/websites/website01" <Directory "F:/websites/website01"> Options Includes Indexes FollowSymLinks ExecCGI MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ErrorLog logs/log01/error.log CustomLog logs/log01/access.log </VirtualHost> # ###### VIRTUAL HOST 02 ###### # <VirtualHost 192.168.1.9:80> ServerAdmin [EMAIL PROTECTED] ServerName website02.domainB.com ServerAlias website02.domainB.com www.website02.domainB.com DocumentRoot "F:/websites/website02" <Directory "F:/websites/website02"> Options Includes Indexes FollowSymLinks ExecCGI MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ErrorLog logs/log02/error.log CustomLog logs/log02/access.log </VirtualHost> # # ###### VIRTUAL HOST 03 ###### # <VirtualHost 192.168.1.9:80> ServerAdmin [EMAIL PROTECTED] ServerName website03.domainC.com ServerAlias website03.domainC.com www.website03.domainC.com DocumentRoot "F:/websites/websiteC" <Directory "F:/websites/websiteC"> Options Includes Indexes FollowSymLinks ExecCGI MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ErrorLog logs/log03/error.log CustomLog logs/log03/access.log </VirtualHost> # # ###### VIRTUAL HOST 04 ###### #
