[NTLUG:Discuss] Stupid Apache CGI question...

MadHat Unspecific madhat at unspecific.com
Mon Jul 9 15:24:21 CDT 2007


Stuart Johnston wrote:
> MadHat Unspecific wrote:
>> Jeff wrote:
>>> I've been trying to get a perl cgi script to work, but when a form is 
>>> submitted, the script prints out instead of executing...Anyone have any 
>>> guess as to what's going on?
>>
>> Basically the web server doesn't know to parse the script for one reason
>> or another.
>>
>> What is the extension of the file?  Did you enable ExecCGI for the
>> directory?  Does the web server know that file is a CGI by using
>> Add-Type (I think)?
> 
> AddHandler cgi-script .cgi

Yeah, that's the one.




More information about the Discuss mailing list