Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 10:04:38 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   re: Enabling cgi scripts in apache
Message-ID:  <59E29F15-1FD7-46AC-B8D3-C0F67AE8ED92@u.washington.edu>

next in thread | raw e-mail | index | archive | help
On Oct 5, 2005, at 9:41 PM, Glenn Dawson wrote:


> At 09:31 PM 10/5/2005, Garrett Cooper wrote:
>
>
>> Hi,
>>     Just having problems again enabling cgi script execution in
>> apache. The script exists, it's the right set of permissions, and the
>> perl interpreter is reference correctly, as well as the following
>> line in the httpd.conf file:
>>
>>     AddHandler cgi-script .cgi
>>
>>
>
> Without being able to see the config, the name of the script, the  
> contents of the script,  or the directory it's in, the simple stuff  
> comes to mind.
>
> Does the AddHandler directive actually apply to the directory that  
> contains the script?
>
> Does the script end in .cgi ?
>
> What shows up in your apache error log?
>
> What error shows up in the browser when you try to browse to the  
> script?
>
> -Glenn
>

     Ah, yes... should have explained more in that regard.
     The server serves the file exacting as written and doesn't  
display the result that I want on the server (which is the script  
doing something for that matter).
     All that I have really changed from the defaults is the  
AddHandler section, so Apache just doesn't know how to serve CGI  
files, although mod-cgi is loaded properly I think.
     Just go to http://wongle.mine.nu for the script since it's a  
part of the main page.
-Garrett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59E29F15-1FD7-46AC-B8D3-C0F67AE8ED92>