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

Re[2]: [cobalt-users] (PHP3 index pages)



Hello List,

Wednesday, February 06, 2002, 2:59:31 PM, you wrote:

SW> "Andy Jacobs" <andy.jacobs@xxxxxxxxxxxxx> wrote:
>> AddType application/x-httpd-php4 .php3
>> AddType application/x-httpd-php4 .php4
>> AddType application/x-httpd-php4 .php

SW> If PHP files with .php and .php4 extensions work for the site, I suspect you
SW> haven't asked Apache to reload the modified srm.conf.

SW> /etc/rc.d/init.d/httpd reload

SW> If that's not the problem, let us know.  FYI, you should be able to set any
SW> file extension to be parsed by PHP.  On many sites I manage which consist
SW> entirely of PHP pages, I name the files as .html files and set them to be
SW> parsed by PHP.  This is done so users aren't given an indication that the
SW> pages are not static.

SW> -- SW> Steve Werby SW> President, Befriend Internet Services LLC

I guess you achieve this by adding the proper statement in an
.htaccess file in the top directory of the site ? or in srm.conf if
you want it system wide ?

Thanks.

-- 
Regards,
 Pierre                          
 pierre@xxxxxxxxxxx