hookahmasta
IS-IT--Management
I'm trying to set up 2 vhosts, each with its own unique web address, on one apache server. It worked for a while, but all of a sudden, it stopped working; now, both vhosts now goes to one of the vhost. Here's the configuration files for each vhost
The one that both vhosts are going to
<VirtualHost (DocumentRoot (Directory of website)
<Directory (Directory of website)>
allow from all
Options +Indexes
</Directory>
</VirtualHost>
The one not working (BTW, it's a redirect to somewhere else, but when I take off the redirect, it makes no difference)
<VirtualHost (DocumentRoot (Directory of website)
ServerName <Directory "(Directory of website)">
allow from all
Options +Indexes
</Directory>
#RedirectPermanent / (Website it redirects to)
</VirtualHost>
Here's what I found out so far.....
If I delete the vhosts that seems to have "Taken Over", the redirect works again. If I renamed the index.html to "break" the "taken over" vhosts, both sites break. I tried to delete the vhosts, and redo the vhost, with a different website directory, but that vhost still takes over.
I'm new at apache and need some help... any pointers would be great....
The one that both vhosts are going to
<VirtualHost (DocumentRoot (Directory of website)
<Directory (Directory of website)>
allow from all
Options +Indexes
</Directory>
</VirtualHost>
The one not working (BTW, it's a redirect to somewhere else, but when I take off the redirect, it makes no difference)
<VirtualHost (DocumentRoot (Directory of website)
ServerName <Directory "(Directory of website)">
allow from all
Options +Indexes
</Directory>
#RedirectPermanent / (Website it redirects to)
</VirtualHost>
Here's what I found out so far.....
If I delete the vhosts that seems to have "Taken Over", the redirect works again. If I renamed the index.html to "break" the "taken over" vhosts, both sites break. I tried to delete the vhosts, and redo the vhost, with a different website directory, but that vhost still takes over.
I'm new at apache and need some help... any pointers would be great....