[NTLUG:Discuss] Stupid Apache CGI question...
Stuart Johnston
saj at thecommune.net
Mon Jul 9 15:23:51 CDT 2007
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
More information about the Discuss
mailing list