(I am an Apache novice.)
I successfully set one up some time ago but cannot seem to set up a second.
The first one is called "kitchen", pointing to a folder called "kitchendocs". This works fine.
The second is called "bluevista", pointing to a folder called "loreen". This does not work at all.
The relevant code from my httpd-vhosts.conf file is shown below. Can anyone see what I am doing wrong ?
Thanx, Glenn
- Code: Select all
...
<Directory "C:/xampp/feralpots/kitchendocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory "C:/xampp/feralpots/loreen">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:/xampp/feralpots/httpdocs
ServerName localhost
ErrorLog C:/xampp/apache/logs/localhost-error_log
CustomLog C:/xampp/apache/logs/localhost-access_log common
</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:/xampp/feralpots/kitchendocs
ServerName kitchen
ErrorLog C:/xampp/apache/logs/kitchen-error_log
CustomLog C:/xampp/apache/logs/kitchen-access_log common
</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:/xampp/feralpots/loreen
ServerName bluevista
ErrorLog C:/xampp/apache/logs/loreen-error_log
CustomLog C:/xampp/apache/logs/loreen-access_log common
</VirtualHost>