ispCP - Board - Support
mod_auth + fcgid = segmentation fault - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: mod_auth + fcgid = segmentation fault (/thread-11151.html)



mod_auth + fcgid = segmentation fault - Mr-Yellow - 07-09-2010 06:11 PM

Using the default ispcp apache configs for fcgid with the FCGIWrapper.

Code:
Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/example.com/htdocs>
            FCGIWrapper /var/www/fcgi/example.com/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/example.com">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>

This works fine for the most part until a htaccess file is added to the path with mod_auth directives.

default-error.log
Code:
child pid 29119 exit signal Segmentation fault (11)

It would appear that mod_auth is changing the effective user or something. I imagined that FcgidAuthenticatorAuthoritative might help but this I believe was deprecated at Apache 2.2 and returns errors.

Have experimented with using mod_action instead of FCGIWrapper with no luck....

Any ideas?

-Ben


RE: mod_auth + fcgid = segmentation fault - Mr-Yellow - 07-10-2010 11:31 AM

Got that a little wrong.

mod_auth AuthenticatorAuthoritative is deprecated in Apache 2.2
FcgidAuthenticatorAuthoritative gives errors on apache restart.

How do I make mod_auth just control access without changing the permissions of the user on other modules?


RE: mod_auth + fcgid = segmentation fault - Mr-Yellow - 07-11-2010 09:34 PM

Was running up against mpm worker ThreadStackSize.