On 3/8/06, Jehan PROCACCIA <[EMAIL PROTECTED]> wrote:

>
> When I go to http://jehan-procaccia.int-evry.fr/cgi/printenv.cgi 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.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to