Re: [users@httpd] SuexecUserGroup command not in docroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/8/06, Jehan PROCACCIA <Jehan.Procaccia@xxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux