faqts : Computers : Programming : Languages : PHP : Installation and Setup

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

33 of 34 people (97%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

How do I get Apache to default to index.php3?

Mar 7th, 2000 04:24
Marcus Schwarz, Terry Tremaine, Matt Gregory,


Just add the line 
DirectoryIndex index.php3
into your .htaccess file. On some server types it has to be only in 
your main directory, on some others in every directory you want 
index.php3 to be your index file. You can also use more index files 
than one by just entering them in the order in which they should be 
searched like
DirectoryIndex index.php3 index.html foo.phtml