Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

   


   


   

















      :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

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

[apache-talk] suexec problem



hi

    ?


    suexec
:

[Tue Apr 24 21:16:03 2001] [error] (13)Permission denied: exec of
/home/ttt/www/cgi-bin/printenv fail
ed
[Tue Apr 24 21:16:03 2001] [error] [client 195.42.98.14] Premature end of
script headers: /home/ttt/w
ww/cgi-bin/printenv



  :
./configure --datadir=/home/www --datadir=/home/www/ --iconsdir=/home/www/icons --htdocsdir=/home/www/htdocs
 --cgidir=/home/www/cgi-b
--server-uid=www --server-gid=www --enable-module=so --enable-suexec --suexec-uidmin=1000


bash-2.04# ./httpd -l
.....
suexec: enabled; valid wrapper /usr/local/apache/bin/suexec


bash-2.04# ls -la ../cgi-bin
total 3
drwxr-xr-x  2 ttt  nogroup  512 Apr 24 18:18 .
drwxr-xr-x  5 ttt  nogroup  512 Apr 24 19:54 ..
-rwx------  1 ttt  nogroup  269 Apr  6 18:14 printenv


 httpd.conf
<VirtualHost *>
.....
    DocumentRoot /home/ttt/www/htdocs

    User ttt
    Group nogroup

    ScriptAlias /cgi-bin/ /home/ttt/www/cgi-bin/
......
</VirtualHost>


bye
Sasa

Algosoft (http://www.algosoft.ru)
Tel: +7 095 254-9881
ICQ #:  http://www.icq.com/14295465



=============================================================================
=               Apache-Talk@lists.lexa.ru mailing list                      =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
=       Archive avaliable at http://www.lexa.ru/apache-talk                 =



 




Copyright © Lexa Software, 1996-2009.