Michael Schwendt wrote:
-----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.
<snip>

Not so. Using apache's virtual host directive, you can set the document for a paticular virtual host to anywhere on the file system, provided that apache can read from that directory.


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

Reply via email to