You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Lorenzo Milesi <ma...@ufficyo.com> on 2012/06/20 14:32:56 UTC

[users@httpd] SuexecUserGroup with different directories (cgi-bin)

Hi.
I've an https php website with this configuration:
<VirtualHost *:443>
    ServerName myhostname:443
    SSLEngine On
[...]
    SuexecUserGroup web1 web1
    DocumentRoot /www/management_site/
    <IfModule mod_fcgid.c>
        <Directory /www/management_site/>
            Options FollowSymLinks MultiViews -Indexes +ExecCGI
            AllowOverride All 
            AddHandler fcgid-script .php
            FCGIWrapper /var/www/php-fcgi-scripts/web1/php-fcgi-starter .php
            AllowOverride All 
            Order allow,deny
            allow from all
        </Directory>
    </IfModule>
</VirtualHost>

On the same host I installed Icinga using debian packages, which creates the following config:
http://pastebin.ca/2163226

When I try to access https://myhost/icinga I get the html pages, but the main content causes a suexec error, because cgi-bin is outside document root.

How can I adjust the icinga config in order to serve it on the same VirtualHost as my php website?
thanks

-- 
Lorenzo Milesi - lorenzo.milesi@yetopen.it

GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org