LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Newbie (http://www.linuxquestions.org/questions/forumdisplay.php?f=8)
-   -   issue in bugzilla (http://www.linuxquestions.org/questions/showthread.php?t=4175438713)

Sharath Ravi 11-25-2012 11:30 PM

issue in bugzilla
 
Hi,

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 172.16.0.133 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

Thanks...

bathory 11-26-2012 02:12 AM

Hi,

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

setenforce 0
and the check if bugzilla works.

Regards

Sharath Ravi 11-26-2012 02:34 AM

hi bathory,

same issue after trying that step....

bathory 11-26-2012 03:13 AM

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

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
Code:

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



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