You are not logged in.

#1 2009-07-05 20:17:51

nLEyETn
Member
Registered: 2008-10-01
Posts: 34

Can't get suexec to work with apache and php

I want to enable php scripts to be executed by a php process that runs as the same user as the owner of the site.  In my case I am just using userdir so anything under /home/username/public_html should be run as username.  I have mod_suexec.so loaded in my httpd.conf file.  In the apache docs it says that:

User directories:
Requests that are processed by mod_userdir will call the suEXEC wrapper to execute CGI programs under the userid of the requested user directory. The only requirement needed for this feature to work is for CGI execution to be enabled for the user and that the script must meet the scrutiny of the security checks above. See also the --with-suexec-userdir compile time option.

I think my file meets the security checks it mentions which are listed on the site: http://httpd.apache.org/docs/2.0/suexec.html  So that makes me wonder about CGI execution being enabled for my user and how do I modify that.  Is there anything else I need to change to enable it?

Last edited by nLEyETn (2009-07-05 20:50:33)

Offline

Board footer

Powered by FluxBB