httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Henry" <>
Subject vhosts serving out right index.html files but wrong index.php files
Date Mon, 18 Mar 2002 16:58:29 GMT
I am stumped by this.  Everything had been working fine 
until I switched some vhost files from index.html to 
their respective index.php

My virtual hosts serve out the right index.html files.
Each call to returns the 
index.html file from 

Each call to returns 
the index.php file from
but does not relatively link to the right css or images.

All requests to work as expected.

Do I have to put directives in the <VirtualHost *> to 
set DirectoryIndex and handling of .php extensions?

thanks all
~ b r y a n

My configuration is as follows:
Apache 2.0.28 Windows
PHP 4.1.2 CGI

NameVirtualHost *

<VirtualHost *>
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"

<VirtualHost *>
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/myvirtual"
    ServerPath "C:/Program Files/Apache Group/Apache2/htdocs/myvirtual" 
    ErrorLog logs/
    CustomLog logs/ common

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message