PDA

View Full Version : htaccess: process html files using cgi



Ashford
03-21-2007, 11:29 PM
I need the command to instruct Apache to process all files of MIME type text/html in the /www/html/catalog directory through the cgi program. Is this the correct way to do it on the westhost system?

/www/cgi-bin/xyz/myscript.cgi
/www/html/catalog/.htaccess
/www/html/catalog/mytest.html

htaccess command line:
Action text/html /www/cgi-bin/xyz/myscript.cgi