[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] php3 line in srm.conf not working



Try changing:

AddType application/x-httpd-php3 .php3

To:

AddType application/x-httpd-php4 .php3

Hopefully now it should work.

Regards,
Amanda.

----- Original Message -----
From: "Carrie Bartkowiak" <admin@xxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, November 20, 2000 5:42 AM> This is supposed to make it
backwards compatible with .php3 extensions.
Subject: [cobalt-users] php3 line in srm.conf not working


> My RaQ4i came with this line in the srm.conf:
> AddType application/x-httpd-php4 .php3
>

> 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:
> # PHP4 (backwards compatible with php3)
> #AddType application/x-httpd-php4 .php3
> AddType application/x-httpd-php4 .php4
> AddType application/x-httpd-php4 .php
> #This line is added as per instructions from cobalt-users list
> #to handle .php3 as an extension
> AddType application/x-httpd-php3 .php3
> #AddType application/x-httpd-php4-source .php4s
> #AddType application/x-httpd-php4-source .php3s
> #AddType application/x-httpd-php4-source .phps
>
> Any help would be greatly appreciated... I've gotten tired of changing
> scripts and all references from .php3 to .php.  :)
>
> Carrie Bartkowiak
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>