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

[cobalt-users] RaQ4 Using .php3 extensions



I would like PHP4 in a RaQ4 to use .php3 extensions as I have many php3
files and I don't think it's necessary to change them to .php

while in srm.conf the .php3 extensions appear to be handled by php4
(backwards compatibility),
# PHP4 (backwards compatible with php3)
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php4 .php

this does not happen.

The VirtualHost entry created by the web interface indicates (when php is
checked)
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php

If I add the .php3 extension there it will be probably overwritten by the
web interface when I make changes.

So the question is:
"How to make the web interface add the .php3 and maybe the .phtml extension
too?"
...or any other workaround on this

Thanks in advance for any suggestions