httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benkevich_a <ant...@aprec.ru>
Subject Re: [users@httpd] Réf. : [users@httpd] Suexec
Date Mon, 11 Oct 2004 09:20:09 GMT
Çäðàâñòâóéòå, Antoine.

Âû ïèñàëè 11 îêòÿáðÿ 2004 ã., 11:25:23:

> This means that your script
> (/usr/local/apache2/vhosts/aben/www/cgi-bin/pytho.cgi) is not under
> the SuExec document root. This document root is specified 
> at compile time, and I think it is by default equal to the main Apache
> document root - which depends on implementation, but might be something
> like /srv/www or something; in any case, I guess it does not include your
> 'vhost' directory.

> Extract from SuExec manual (/manual/suexec.html if you have it):
> 13.     Is the directory within the Apache webspace? 
> If the request is for a regular portion of the server, is the requested
> directory within suEXEC's document root? If the request is for a UserDir,
> is the requested directory within the directory configured as suEXEC's
> userdir (see suEXEC's configuration options)? 

> To change this document root, you must recompile SuExec (which often means
> recompiling Apache too), specifying the following option :
> --with-suexec-docroot=NEWDOCROOT. 
> This behavior is quite annoying when you intend to serve CGIs located in
> many places on your system, as they often do not have any common path
> prefix (try '/' ?)

Thanks, and what is the --enable-suexec-userdir?





---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message