Koozali.org: home of the SME Server

help - no access to /opt/<site name>

Offline pauljclarke

  • ***
  • 61
  • +0/-0
help - no access to /opt/<site name>
« 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: help - no access to /opt/<site name>
« Reply #1 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
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)