Virtualhost pulling from the same site??
- by Matt
I have my httpd.conf on fedora 8 that I am setting the virtual host file. Here is what I have:
DocumentRoot "/var/www/html"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
then below I am trying to setup a vhost to have multiple sites on the server:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName kadence.tv
DocumentRoot /var/www/html/
</VirtualHost>
<VirtualHost *:80>
ServerName nacc.biz
DocumentRoot /var/www/html/nacc/
</VirtualHost>
also in the /var/www/html/ directory I have the index.php file for the kadence site...when I do to either site I get the index for the kadence site...any ideas what I am doing wrong
EDIT the full contents of my httpd configuration file are here.