in reply to configuring apache to automatically send Content-Type header and exec as CGI based on file extension

(assuming you meant '.cgi' not '.sgi')

In your httpd.conf:

AddHandler cgi-script .cgi AddType text/html .cgi DefaultType text/html

-Blake

  • Comment on Re: configuring apache to automatically send Content-Type header and exec as CGI based on file extension
  • Download Code