Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141877

Summary: FastCGI with Suexec doesn't work with the default config layout
Product: Gentoo Linux Reporter: Jens Weibler <gentoo-bugzilla>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jens Weibler 2006-07-27 03:53:11 UTC
If you just emerge fastcgi, enable suexec and enable it you will get:

 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 8 of /etc/apache2/modules.d/20_mod_fastcgi.conf:
FastCgiWrapper: "/usr/sbin/suexec2" execute access for server (uid -1, gid -1) failed: execute not allowed

This is causes because the configfile 20_mod_fastcgi.conf is loaded before the directives User and Group. Please change the config file layout to setup important settings first and than load additional modules.
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-07-27 06:50:07 UTC

*** This bug has been marked as a duplicate of 100181 ***