Hello, I am having trouble to set up a fcgid setup that should start php-scripts of users using their own userid and not wwwrun or similar. It works in my current setup if I copy the php5 binary into the users public_html directory but this is not an option for 8000 users:-) I am running SuSE 10.2 with apache 2.2.3 and mod_fcgid 1.10. I am using the prebuild SuSE RPMs
I have tried to configure the following where /srv/www is the apaches2 document root. <FilesMatch "\.php$"> AddHandler fcgid-script .php FCGIWrapper /srv/www/cgi-bin/php5 .php Options +ExecCGI allow from all </FilesMatch> When I try this configuration with a php file in a users home directory say /home/krienke/public_html/phptest.php http reports a server error. In the suexec log file of apache I see the message: [2007-05-14 09:30:03]: command not in docroot (/srv/www/cgi-bin/php5) If I change the config to FCGIWrapper /home/krienke/public_html/php5 .php and copy the php5 file therein, it works. Can anybody help and tell me how a configuration should look like if I want a central php binary to executed by each user with his own uid and not wwwrun? Thanks Rainer -- --------------------------------------------------------------------------- Rainer Krienke, Universitaet Koblenz, Rechenzentrum, Raum A022 Universitaetsstrasse 1, 56070 Koblenz, Tel: +49 261287 -1312, Fax: -1001312 Mail: [EMAIL PROTECTED], Web: http://www.uni-koblenz.de/~krienke Get my public PGP key: http://www.uni-koblenz.de/~krienke/mypgp.html --------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users