Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: pauljclarke on March 25, 2008, 05:53:28 PM

Title: help - no access to /opt/<site name>
Post by: pauljclarke on March 25, 2008, 05:53:28 PM
Hi,

I have installed bugzillia on a server but am not allowed access to the site.!? please help...  :sad:

Error in log file is:
Code: [Select]
(13) Permission denied: exec of 'opt/bugtracker/index.cgi' failed
My .htaccess files is:
Code: [Select]
# don't allow people to retrieve non-cgi executable files or our private data
#<FilesMatch ^(.*\.pm|.*\.pl|.*localconfig.*)$>
#  deny from all
#</FilesMatch>

My template that is added to httpd.conf is:
Code: [Select]
ScriptAlias /bugtracker/cgi /opt/bugtracker
Alias /bugtracker /opt/bugtracker
<Directory /opt/bugtracker>
  AddType application/x-httpd-php .php .php3 .phtml
  Options FollowSymLinks
  AddHandler cgi-script .cgi
  Options +Indexes +ExecCGI
  DirectoryIndex index.cgi
  AllowOverride Limit
  order deny,allow
  deny from all
  allow from all
  php_admin_flag allow_url_fopen off
  php_admin_value eaccelerator.enable 1
  php_admin_value open_basedir /opt/bugtracker
</Directory>

I get a Internal Error page displayed [500] but can't see what I have done wrong....?

Thanks
Title: Re: help - no access to /opt/<site name>
Post by: cactus on March 26, 2008, 08:29:28 PM
Do you really need the ScriptAlias directive? Where did you take the configuration template settings from? Bugzilla documentation seem to be less strict: http://www.bugzilla.org/docs/3.0/html/configuration.html