In your httpd.conf:
AddHandler cgi-script .cgi AddType text/html .cgi DefaultType text/html
-Blake
In reply to Re: configuring apache to automatically send Content-Type header and exec as CGI based on file extension
by blakem
in thread configuring apache to automatically send Content-Type header and exec as CGI based on file extension
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |