httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject RE: [users@httpd] DocumentRoot directive changed.
Date Mon, 09 Jun 2003 14:13:06 GMT

On Mon, 9 Jun 2003, Pao-Hsi Huang wrote:
> In Apache1, I can set :
> 	DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/p.php"

That's not a supported configuration.  DocumentRoot takes a directory, not
a file.  (It may work, but that doesn't mean it is a good idea.)

A better idea is something along the lines:

Alias /  "C:/Program Files/Apache Group/Apache/htdocs/p.php"

Your problem with the DirectoryIndex directive is almost certainly that
there is another DirectoryIndex directive somewhere in the config
overriding that one.


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