This is a discussion on virtual host takes over within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello, I have the following problem with Apache version 2.0.53, running on SuSE Linux 9.3: - one default ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I have the following problem with Apache version 2.0.53, running on SuSE Linux 9.3: - one default server - one virtual host listening to www1.mydomain.com (see httpd.conf below) Nevertheless, ALL requests to the server are being answered by the virtual host. No matter how I access the server, it loads the /public_html instead of the /loadbalance directory. It's just like the virtual hosts becomes the default server. What am I doing wrong? Regards, -Henric === DocumentRoot /home/myuser/loadbalance <Directory "/home/myuser/loadbalance/"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <VirtualHost *:80> DocumentRoot "/home/myuser/public_html" ServerName www1.mywebsite.com <Directory "/home/myuser/public_html"> allow from all Options +Indexes </Directory> </VirtualHost> === |