Hi.
I have Apache configured with `mod_fcgid` and suEXEC.
When I'm trying to start it with `VirtualHost` config:
I got error in suEXEC log:
Because `zabbix` user `UID` less than `AP_GID_MIN` suEXEC option.
What is correct way to fix it? Change `UID/GID` for `zabbix`?
Change suEXEC `AP_GID_MIN/AP_UID_MIN`?
I have Apache configured with `mod_fcgid` and suEXEC.
When I'm trying to start it with `VirtualHost` config:
Code:
<VirtualHost 127.0.0.1:8080>
DocumentRoot /usr/share/zabbix/
ServerName zabbix.some.org.ua
ServerAlias www.zabbix.some.org.ua
CustomLog /var/log/httpd/zabbix.some.org.ua-access.log combined
ErrorLog /var/log/httpd/zabbix.some.org.ua-error.log
<IfModule mod_fcgid.c>
SuexecUserGroup zabbix zabbix
<Directory /usr/share/zabbix/>
Options +ExecCGI
AllowOverride All
AddHandler fcgid-script .php
FCGIWrapper /var/www/php-cgi/zabbix/zabbix.some.org.ua/php.cgi .php
Order allow,deny
Allow from all
</Directory>
</IfModule>
</VirtualHost>
Code:
[2014-09-15 14:22:42]: uid: (494/zabbix) gid: (494/zabbix) cmd: php.cgi [2014-09-15 14:22:42]: cannot run as forbidden uid (494/php.cgi)
What is correct way to fix it? Change `UID/GID` for `zabbix`?
Change suEXEC `AP_GID_MIN/AP_UID_MIN`?
Comment