httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] SuexecUserGroup command not in docroot
Date Wed, 08 Mar 2006 18:50:09 GMT
On 3/8/06, Jehan PROCACCIA <> wrote:

> When I go to I get
> "500 Internal server Error", apache logs says "Premature end of script
> headers: printenv.cgi" and suexec logs:
> [2006-03-08 19:05:26]: uid: (14503/procacci) gid: (145/145) cmd:
> printenv.cgi
> [2006-03-08 19:05:26]: command not in docroot
> (/mci/mci/procacci/public_html/cgi/printenv.cgi)

> $ suexec -V
>  -D AP_DOC_ROOT="/var/www"

All requests that are handled by suexec must be for resources under
the compiled-in AP_DOC_ROOT.  (The only exception is for requests
handled by mod_userdir, which may be under the AP_USERDIR_SUFIX
directory of a user's home directory.)

So to fix this problem you must either recompile suexec with an
AP_DOC_ROOT that is a parent of /mci/mci/procacci/public_html/cgi/ or
you must move your cgi script under /var/www.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message