[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] php3 line in srm.conf not working
- Subject: [cobalt-users] php3 line in srm.conf not working
- From: "Carrie Bartkowiak" <admin@xxxxxxxxxxxxxxxxxx>
- Date: Sun Nov 19 21:41:01 2000
- 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:
# 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