[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] (PHP3 index pages)
- Subject: RE: [cobalt-users] (PHP3 index pages)
- From: "Andy Jacobs" <andy.jacobs@xxxxxxxxxxxxx>
- Date: Tue Feb 5 09:38:16 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>> Hi all,
>>
>> I have just uploaded a site to my RAQ4 and am having a problem. The site
>> is
>> mainly PHP files with the PHP3 extension. I have changed the srm.conf
>> file
>> to reflect this but I still get asked if I want to download or save the
>> file.
>>
>> This is the section from my srm.conf file:
>>
>>
>>
>> # DirectoryIndex: Name of the file or files to use as a pre-written HTML
>> # directory index. Separate multiple entries with spaces.
>>
>> DirectoryIndex index.html index.php3 index.php index.htm index.shtml$
>> # FancyIndexing is whether you want fancy directory indexing or standard
>>
>> FancyIndexing on
>>
> You also need a line like:
> AddType application/x-httpd-php4 .php3
> is it there?
> Jelmer
Thanks for the reply.
It is indeed:
# PHP4 (backwards compatible with php3)
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php4 .php
#AddType application/x-httpd-php4-source .php4s
#AddType application/x-httpd-php4-source .php3s
#AddType application/x-httpd-php4-source .phps
is what I have
Andy