Getting cgi-bin working in apache.

Peter Boy pboy at barkhof.uni-bremen.de
Mon Aug 22 22:34:53 UTC 2005


Am Montag, den 22.08.2005, 17:05 -0400 schrieb Robert Cahn:
> I'm trying to process an HTML form.  I've got apache up and running
> and I've uncommented the line "AddHandler cgi-script .cgi" in
> httpd.conf.  When I load the form page (/var/www/html/entry.htm) into
> the browser and hit the submit program I expected calculate.cgi to
> start.  It's in /var/www/cgi-bin.  Instead what I get is a pop up
> saying "You have chosen to open calculate.cgi which is a: CGI script
> from /var/www/cgi-bin.  What should Firefox do with this file? Open
> with Text Editor or save to disk?"

This message is typical if apache is missing exec permission.  Did you
have option ExecCGI enabled (see documentaion at www.apache.org for
details)?

Peter






More information about the fedora-list mailing list