Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed bugzilla and added the following code to httpd.conf to access it from my browser

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

But if I try to access it from browser I'm getting the following error

The server encountered an internal error or misconfiguration and was unable to complete your request.
share|improve this question
    
Anything useful in the apache error log? The cgi script is probably erroring out before giving Apache any html to display. – Jeff Schaller May 31 at 10:35
    
@JeffSchaller [Tue May 31 15:33:26 2016] [error] [client] (13)Permission denied: access to /bugzilla/t/index.html denied [Tue May 31 15:33:26 2016] [error] [client] (13)Permission denied: access to /bugzilla/t/index.html.var denied I'm getting this error – user2649815 May 31 at 10:40
    
try navigating first to /bugzilla/admin.cgi. – meuh May 31 at 18:01
    
@meuh tried and getting the same error – user2649815 Jun 1 at 5:35
up vote 0 down vote accepted

The issue was with .htaccess file in bugzilla directory.

Added the following code to the file and restarted the apache,

<FilesMatch (\.pm|\.pl|\.tmpl|localconfig.*)$>
    Deny from all
</FilesMatch>

Now it is working fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.