> One exception, on the main page, I have "index.html" which is simply a
> copy of "Index.php" renamed. This is so that requests to www.server.org/
> will come up correctly.
>
> Probably there's a place to fix that in apache, but I haven't gone after
it
> yet.
There is a way to fix this on Apache, and a very easy one at that.
Go into your httpd.conf file and look for a set of lines that look something
like:
<IfModule mod_dir.c>
DirectoryIndex index.php index.shtml
</IfModule>
The DirectoryIndex directive lists, in order, which pages the server should
look for when it receives a request ending in /. As you can see, my config
looks for an index.php file, followed by an index.shtml file. If it fails
for both of these, I *think* it will return an HTTP 404 error.
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]