[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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to