httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DeSouza, Wellington Oliveira" <>
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>
        DocumentRoot /var/www/html/
        RewriteEngine On
        RewriteRule /athletics(.*)$1

<VirtualHost *:80>
    DocumentRoot /home/admin/wdesouza/public_html
    ErrorLog logs/rev-eorope-error_log
    TransferLog logs/rev-europe-access_log


Here is the problem:

In 4 out of 10 requests to I will get the index page
located in the document root of my 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 

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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message