"Webserver is fetching rather than executing CGI files" When trying to run Bugzilla -
disclaimer: know questions sounds lame. no n00b , have done whatever know , find this. have searched forum , tried fixes given none of them helped me hence question.
the threads have visited
- https://askubuntu.com/questions/147348/bugzilla-testserver-pl-failing
- http://www.thesitewizard.com/archive/addcgitoapache.shtml
- bugzilla error after installation: "test-failed web server not executing cgi files"
now that
my exact problem
i have installed bugzilla on bitnamil lampstack. lampstack has 2 other applications , running successfully. after bugzilla installation when trying visit page can see whole perl script on borwser. running it's own server check reveals me following
test-ok webserver running under group id in $webservergroup.
test-ok got padlock picture.
test-failed webserver fetching rather executing cgi files.
what have done in setup
the bugzilla.conf file (which gets pulled in httpd.conf) has following settings enabled
> addhandler cgi-script .cgi .pl > > options +multiviews +execcgi > > directoryindex index.cgi > > allowoverride
the "addhandler cgi-script .cgi .pl" enabled in httpd.conf file.
- i have not enabled separately +execcgi directories in httpd.conf not solve problem
what doing wrong here?
you should have directory block in bugzilla.conf looks this:
<directory "/usr/local/apache2/htdocs/bugzilla"> addhandler cgi-script .cgi options +execcgi +followsymlinks directoryindex index.cgi index.html allowoverride limit fileinfo indexes options addtype application/vnd.mozilla.xul+xml .xul addtype application/rdf+xml .rdf </directory>
i believe don't want .pl 'handled'. , having allowoverride security issue. followsymlinks 1 because bugzilla directory in htdocs symlink somewhere else on system.
did run checksetup.pl? should have adjusted permissions you, check see group web server runs has read , execute permissions.
Comments
Post a Comment