Sounds like either a permission error (it has to be excecutable as whatever
account that is running the web server, ie www or whatever), or an apache
configuration error.

Here are some of the important bits for apache:

 ScriptAlias /cgi-bin/ "/usr/local/httpd/cgi-bin/"
    <Directory "/usr/local/httpd/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>   

Also, does it just run from the command line with no errors?  Another thing
to check, does it return "Content-type: text/html\n\n" (and the double
carriage return is important, as it the first string of the command line
output, the server/browser may balk if it is not.

Also another thing to check, what's the apache error log say, (might be in
/var/log/httpd/error_log)

Dave gomez


On 10/23/02 8:31 PM, "Chuck Jacobson" <[EMAIL PROTECTED]> wrote:

>> many of the people who upgrade to 5.8.0 seem to be newbies who are
>> doing so for no real reason. It's sad, really - people spend *huge*
>> amounts of effort installing and debugging 5.8.0, for no reason other
>> than a vague notion that they "want the latest version." For the most
>> part, they're entirely oblivious to the fact that the scripts they're
>> writing would have worked just as well under 5.6.0.
> 
> Guilty as charged! Although I don't know for sure that it would have
> worked before...
> 
> Lemme try this a different way.. I have turned on websharing and I try
> running http://myaddress/cgi-bin/test-cgi and I get the 403 Forbidden
> error. I've tried chmod'ing the file, CGI-Executables directory, and
> the ones above it and I get "Operation not permitted". Somehow I doubt
> I am supposed to chmod all the way up to the root directory. Let's
> start there..If you guys want me to take this off list for some reason
> let me know. Thanks,
> ---------------------------------------------------------
> Chuck Jacobson, Technical Systems Specialist
> North Central Baptist Church, Gainesville, FL
> http://www.northcentralbaptist.org/
> ---------------------------------------------------------
> In everything give thanks.
> -- 1 Thessalonians 5:18
> 
> 

Reply via email to