Eric Martin wrote:
> Well, the suexec mechanism seems to be working OK:
> 
> # ps -ef | grep httpd
>  nobody 28220 28219   0 14:38:25 ?           0:00
> /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start
>  nobody 28225 28219   0 14:38:26 ?           0:00
> /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start
>    root 28219     1   0 14:38:25 ?           0:00
> /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start
>  nobody 28221 28219   0 14:38:26 ?           0:00
> /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start
>  nobody 28224 28219   0 14:38:26 ?           0:00
> /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start
>    root 28229 28212   0 14:38:29 pts/10      0:00 grep httpd
>  nobody 28223 28219   0 14:38:26 ?           0:00
> /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start
>  nobody 28222 28219   0 14:38:26 ?           0:00
> /usr/local/stow/apache-2.0.54/apache2/bin/httpd -k start
> 
> Should I need to chown my httpd to nobody to make Apache::Test work
> (circumventing suexec)?

I am not sure what you mean by suexec, but no, you do not need to chown
httpd to nobody.

> Note: chowning the entire apache tree to nobody:nobody still causes the
> "httpd (<path>) does not exist" error in mod_perl 2.

Have you tried

$> su - nobody
$> stat /usr/local/stow/apache-2.0.54/apache2/bin/httpd

?

I suspect nobody is unable to, say, access /usr/local/stow.

> In case I failed to mention this before:
> 
> # /usr/local/apache2/bin/httpd -V

That's a bit curious, why /usr/local/apache2/bin/httpd and
usr/local/stow/apache-2.0.54/apache2/bin/httpd ?

Which one is the correct one ?

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to