SuexecUserGroup with different directories (cgi-bin)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux