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

Stuart Johnston saj at thecommune.net
Mon Jul 9 15:32:07 CDT 2007


Try: a2enmod mime

Otherwise, what version of Debian/Apache?

Jeff wrote:
> Running a debian install...Can't find AddHandler...
> 
> MadHat Unspecific wrote:
>> 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.
>>
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>>
>>   
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss



More information about the Discuss mailing list