httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
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.

Joshua.

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