Re: Show index.php instead of index.html
| From: | Chris Shiflett | Date: | Thu, 02 Oct 2003 04:44:46 +0000 |
| Subject: | Re: Show index.php instead of index.html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164686@lists.php.net to get a copy of this message | ||
Regarding DirectoryIndex, you can try to put the following line in a .htaccess
file within your document root:
DirectoryIndex index.php index.html
Your Web host must allow .htaccess to override certain directives (or all), but
I have found that most do. It's definitely worth trying.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp