how to enable mod_cgi
I am installing Bugzilla on a Fedora Core 6 machine and I am a noob when it comes to apache2 configuration. One of the steps according to the Bugzilla QUICSTART guide is as follows:
Configure Apache (or install and configure, if you don't have it up yet) to point to the Bugzilla directory. You should enable and activate mod_cgi, and add the configuration entries Options +ExecCGI AllowOverride Limit DirectoryIndex index.cgi to your Bugzilla <Directory> block. You may also need AddHandler cgi-script .cgi if you don't have that in your Apache configuration file yet. I am also a noob when it comes to Web scripting and I not familiar with the mod_cgi module. How do I find out if mod_cgi is enabled and if not, how do I enable it? Here is my Bugzilla Directory block withing the http.conf file: Code:
<Directory "/usr/local/apache2/htdocs/bugzilla"> Any help would be appreciated. |
It's pretty straight foward, actually. Just insert:
Options +ExecCGI AllowOverride Limit DirectoryIndex index.cgi between the <Directory> tags. Place the addhandler line in your apache config next to all the other AddHandler statements (if it's not already there). If that doesn't help, read this: http://httpd.apache.org/docs/2.0/howto/cgi.html Scroll down to where it says "Explicitly using Options to permit CGI execution" about a page and a half down. |
All times are GMT -5. The time now is 04:07 PM. |