Apache Server configuration support - Suexec configuration

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2004 > Suexec configuration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Suexec configuration
FrozenSun

2004-08-23, 6:00 pm

Hello

I'm trying to set up cricket on a red hat 9.0 with apache 2.0.50

when i configure my apache server i used:

../configure --enable-suexec --with-suexec-caller=cricket
--with-suexec-uidmin=1500
--with-suexec-binpath=/usr/local/apache2/bin/suexec
--with-suexec-userdir=/home/cricket --with-suexec-docroot=/home
--with-suexec-gidmin=1500
--with-suexec-safepath=/home/cricket/public_html; make; make install

My cricket user has a UID of 2000.

The error log from suexec_log is the following:

[2004-08-23 14:57:32]: uid: (2000/cricket) gid: (2000/2000) cmd: grapher.cgi
[2004-08-23 14:57:32]: command not in docroot
(/home/cricket/public_html/grapher.cgi)


In my httpd.conf i set up the docroot to /home...

The cgi scripts are in /home/cricket/public_html (grapher.cgi and mini-grapher.cgi)
they are not symlinks and they are owned by cricket cricket...

can someone point me in the right direction pls

Regards
Sorin
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com