-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 18 Jun 2003 01:40:47 -0600, Ashley M. Kirchner wrote:

> > -D DOC_ROOT="/var/www"
> > -D GID_MID=100
> > -D HTTPD_USER="apache"
> > -D LOG_EXEC="/var/log/httpd/suexec_log"
> > -D SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
> > -D UID_MID=100
> > -D USERDIR_SUFFIX="public_html"
> 
>     Ok, so I changed everything to match what that output says.  I 
> changed my UserDir prefix in httpd.conf to use public_html instead. 
>  According to the Apache Docs, suEXEC will pick both the 
> --suexec-docroot as well as UserDir as it's hierarchy of allowed 
> locations to execute something.  I changed the user's layout to reflect 
> the change (/home/rash/public_html), and I've adjusted the vhost file to 
> point to thet public_html instead.  I'm still getting the 'not in 
> docroot' error whenever it tries to execute a CGI.

Your document root is /var/www, so your virtual host doc root needs
to be below /var/www. /home is not below /var/www. USERDIR_SUFFIX is
for URLs of the form http://your.host/~rash, so you can allow users
to execute CGI scripts as their own uid/gid instead of user apache.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+8DLx0iMVcrivHFQRAi7hAJwKGHxNDS+kX4sK+WqR9JrgjUjnVwCfXBGo
beWx0aJzORF4pCtZ7xFWCNA=
=kGG2
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to