virtual host takes over

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-29-2006
iixqzitexw@mailinator.com
 
Posts: n/a
Default virtual host takes over

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>
===

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0