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

Re: [cobalt-users] Question



--- InterVision <dannyf@xxxxxxxxxxx> wrote:
> how can i run *.html files as CGI/PERL
> or *.test as PHP files ?

edit your /etc/httpd/conf/srm.conf.

For the PHP bit, add a line:
AddType application/x-httpd-php3 .test

For the cgi/perl bit:
AddHandler cgi-script .html
you may also need to put these ".html" in the cgi-bin directory or fiddle
with ScriptAlias.

don't forget to restart apache.

Paul

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com