SuexecUserGroup not working in Apache 2.4 + FCGID 2.3

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

 



Hi,

I have upgraded my PHP from version 5.3 to 5.4 via yum which requires upgrading Apache from version 2.2 to 2.4. After doing configuration, it turns out that the userid and groupid is still using the global user/group which is "apache".

<VirtualHost *:80>
        ServerName      domain.com
        ServerAdmin     email@xxxxxxxxxx
        DocumentRoot "/path/to/webroot"
        ....
        ....
        <IfModule mod_fcgid.c>
          SuexecUserGroup user-name group-name
         <Directory "/path/to/webroot">
          Options +ExecCGI
          AllowOverride All
          AddHandler fcgid-script .php
          FcgidWrapper /path/to/webroot/php-fcgi-scripts/php-fcgi-starter .php
          Order allow,deny
          Allow from all
         </Directory>
        </IfModule>
         ........
</VirtualHost>

/etc/httpd/modules/base.conf:

LoadModule suexec_module modules/mod_suexec.so

I would appreciate if anyone could advise what was I missed.

Thanks. James


[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