Results 1 to 1 of 1
Need some help here. Running Apache on Slackware and both virtual hosts refer to the same document root folder. Any ideas how to fix this?
Here is my VirtualHost entry ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-04-2004 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 1
Virtual hosts refer to the same document root folder
Need some help here. Running Apache on Slackware and both virtual hosts refer to the same document root folder. Any ideas how to fix this?
Here is my VirtualHost entry in my httpd.conf
NameVirtualHost *
DocumentRoot "/var/www/htdocs"
<VirtualHost *>
ServerName site1.servehttp.com
ServerAlias site1.servehttp.com
DocumentRoot /var/www/htdocs/
ErrorLog /var/log/apache/site1.servehttp.com-error_log
TransferLog /var/log/apache/site1.servehttp.com-access_log
</VirtualHost>
<VirtualHost *>
ServerName site2.no-ip.com
ServerAlias site2.no-ip.com
DocumentRoot /var/www/htdocs/site2/"
ErrorLog /var/log/apache/site2.no-ip.com-error_log
TransferLog /var/log/apache/site2.no-ip.com-access_log
</VirtualHost>


Reply With Quote
