SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard Zaggs's Avatar
    Join Date
    Feb 2005
    Posts
    1,051
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bugzilla problem

    I have just installed bugzilla on my Plesk server. However, when I try to access the Bugzilla url it just shows the CGI code.

    Installation dir: /var/www/vhosts/mydomain.com/subdomains/bugzilla/httpdocs

    Any idea what could be wrong?

  2. #2
    SitePoint Wizard Zaggs's Avatar
    Join Date
    Feb 2005
    Posts
    1,051
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I now know what's causing the problem - SuExecUserGroup. I commented out the line (like below) and it works fine. How can I get this working without commenting out this line?

    Code:
    <VirtualHost 94.xx.xxx.xxx:80>
    	ServerName   subdomain.mydomain.com:80
    	#SuexecUserGroup         user group
    	ServerAdmin  "bradley@mydomain.com"
    	DocumentRoot /var/www/vhosts/mydomain.com/subdomains/subdomain/httpdocs
    	CustomLog  /var/www/vhosts/mydomain.com/statistics/logs/access_log plesklog
    	ErrorLog  /var/www/vhosts/mydomain.com/statistics/logs/error_log
    	ScriptAlias  /cgi-bin/ /var/www/vhosts/mydomain.com/subdomains/subdomain/cgi-bin/
    	<IfModule mod_ssl.c>
    		SSLEngine off
    	</IfModule>
    	<Directory  /var/www/vhosts/mydomain.com/subdomains/subdomain/httpdocs>
    	<IfModule mod_perl.c>
    	<Files ~ (\.pl$)>
    		SetHandler perl-script
    		PerlHandler ModPerl::Registry
    		Options ExecCGI
    		allow from all
    		PerlSendHeader On
    	</Files>
    	</IfModule>
    	<IfModule sapi_apache2.c>
    		php_admin_flag engine on
    		php_admin_flag safe_mode off
    		php_admin_value open_basedir "/var/www/vhosts/mydomain.com/subdomains/subdomain/httpdocs:/tmp"
    	</IfModule>
    	<IfModule mod_php5.c>
    		php_admin_flag engine on
    		php_admin_flag safe_mode off
    		php_admin_value open_basedir "/var/www/vhosts/mydomain.com/subdomains/subdomain/httpdocs:/tmp"
    	</IfModule>
    		AddHandler cgi-script .cgi
    		Options -Includes +ExecCGI
    	</Directory>
    </VirtualHost>


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •