RE: [PHP] index.php4 broken

From: Date: Wed, 12 Nov 2003 17:22:21 +0000
Subject: RE: [PHP] index.php4 broken
Groups: php.general 
Request: Send a blank email to php-general+get-169316@lists.php.net to get a copy of this message
[snip] HI -- I just broke something simple and I'm stuck. I've been using index.php3 as the start file in each directory for a long time. I just set up a new site using php4 and the index.php4 pages are not displayed as the default page for the directory. I see the text version directory listing. If I use the full url, i.e., something/index.php4 it looks OK as expected. What changed???? [/snip] Nothing....yet. Have a look at the directives in your httpd.conf(assuming Apache here) for this section or something similar. # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # <IfModule mod_dir.c> DirectoryIndex index.html index.php index.php3 </IfModule> Add index.php4 at the eol DirectoryIndex index.html index.php index.php3 index.php4 also make sure that you have AddType application/x-httpd-php .php4 in the httpd.conf

« previous php.general (#169316) next »