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

Jeff fetushead at sbcglobal.net
Mon Jul 9 15:36:49 CDT 2007


Well, it's telling me that I don't have permission to access the 
script...Permissons are set correctly on the folder and file...


Jeff wrote:
> Holy crap I'm an idiot...Trying to add addhandler to my httpd.conf now...
>
> 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
>>
>>   
>>     
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
>   




More information about the Discuss mailing list