httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DeSouza, Wellington Oliveira" <wdeso...@highpoint.edu>
Subject [users@httpd] Problem with Virtual Hosts
Date Mon, 29 Mar 2004 20:26:38 GMT
I have a very bad problem with my Virtual Hosts. 
Keep in mind that I have just upgraded to Apache2.0

First let me list the relevant part of my http configuration:
----------------------------------------------------------

NameVirtualHost *:80

<virtualHost *:80>
        ServerName www.highpoint.edu
        DocumentRoot /var/www/html/
        ServerAdmin webmaster@highpoint.edu
        RewriteEngine On
        RewriteRule /athletics(.*) http://www.highpointpanthers.com$1
[R,L]
</VirtualHost>


<VirtualHost *:80>
    ServerName www.revolutionaryeurope.org
    DocumentRoot /home/admin/wdesouza/public_html
    ServerAdmin webmaster@highpoint.edu
    ErrorLog logs/rev-eorope-error_log
    TransferLog logs/rev-europe-access_log
</VirtualHost>

----------------------------------------------------

Here is the problem:

In 4 out of 10 requests to www.highpoint.edu I will get the index page
located in the document root of my www.revolutionaryeurope.org virtual
host. The images will not show up because it seems that even though I
got the wrong page displayed, apache does think that the document root
is /var/www/html so the path to the images are wrong. The other 6
requests (out of 10) are answered correctly.

The same kind of problem is present when I make requests to
www.revolutionaryeurope.org. 

It seems to me that apache is mixing things up internally. Has anyone
run into this problem?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message