[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] php3 line in srm.conf not working
- Subject: Re: [cobalt-users] php3 line in srm.conf not working
- From: "Brian Curtis" <admin@xxxxxxxxxxx>
- Date: Mon Nov 20 07:02:44 2000
- Organization: Pomfret Computer Technologies
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> My RaQ4i came with this line in the srm.conf:
> AddType application/x-httpd-php4 .php3
>
> This is supposed to make it backwards compatible with .php3 extensions.
> However, .php3 extensions still didn't work. Upload something with a .php3
> extension, try to go to it in a browser, and I get a download screen.
> So, according to many many many notes I found in the archives, I added
this
> line to the srm.conf:
> AddType application/x-httpd-php3 .php3
>
> But I still get the download box.
> Now, I had both of those lines in there at the same time. I thought it
might
> be confusing the server. So I commented out the first line:
> #AddType application/x-httpd-php4 .php3
>
> and rebooted the machine. Still no go. I still get the download screen.
>
> Here's that section of my srm.conf:
<SNIP>
>
> Any help would be greatly appreciated... I've gotten tired of changing
> scripts and all references from .php3 to .php. :)
>
> Carrie Bartkowiak
Unless you have PHP3 installed on the box along with PHP4, do not
add/uncomment the line "AddType application/x-httpd-php3 .php3". This will
cause Apache to look for the PHP3 module to handle .php3 documents, which
doesn't exist on the Raq 4 AFAIK. To have the PHP4 module handle multiple
doc extensions, try the following:
AddType application/x-httpd-php .php .php3 .php4 .phtml
--
Brian Curtis