-   Linux - Newbie (
-   -   issue in bugzilla (

Sharath Ravi 11-26-2012 12:30 AM

issue in bugzilla

I have installed bugzilla on centos 5. When opening in the browser i am getting this error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.3 (CentOS) Server at Port 80

when i opening my httpd error log file i found this error

Permission denied: exec of '/var/www/html/bugzilla/index.cgi' failed
Premature end of script headers: index.cgi

Can some1 please help me out on this issue


bathory 11-26-2012 03:12 AM


Check if it's a SELinux problem by disabling it temporarily. To do so, run

setenforce 0
and the check if bugzilla works.


Sharath Ravi 11-26-2012 03:34 AM

hi bathory,

same issue after trying that step....

bathory 11-26-2012 04:13 AM

Make sure that the index.cgi is executable and the whole bugzilla directory is owned by the apache user:

ls -l /var/www/html/bugzilla/index.cgi
chown -R apache:apache /var/www/html/bugzilla

Also you'll need to have the following in httpd.conf

Alias /bugzilla "/var/www/bugzilla"
<Directory "/var/www/bugzilla">
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit FileInfo Indexes

All times are GMT -5. The time now is 12:15 PM.