Hi.

I am using your patch on httpd-2.2.3 с apache.org at gentoo 2.6.19-r5
x86_64.

I have compiled apache with following options:
export CFLAGS="-O3 -march=nocona -pipe -fPIC"

./configure --enable-layout=opt_current_peruser_aux3 \
--enable-pie \
--with-mpm=peruser \
--enable-nonportable-atomics \
--enable-modules="core mpm-common dir suexec" \
--enable-mods-shared=" ... " \
--disable-ldap \
--enable-static-support \
--enable-http \
--disable-dav \
--enable-suexec \
--with-suexec-bin="/opt/apache_aux3/2.2.3/sbin/suexec" \
--with-suexec-caller=www \
--with-suexec-userdir=http \
--with-suexec-docroot=/home/virtwww \
--with-suexec-uidmin=1000 \
--with-suexec-gidmin=155 \
--with-suexec-logfile=/var/log/apache_aux3/suexec_log

My httpd.conf:

<IfModule peruser.c>
      ServerLimit          256
      MaxClients           256
      MinSpareProcessors     2
      MaxProcessors         10
      MaxRequestsPerChild 1000
      IdleTimeout           60
      ExpireTimeout        300
      Multiplexer www daemon
      Processor w_server virtwww
/home/virtwww/w_server
</IfModule>
<IfModule !mpm_netware_module>
User www
Group daemon
</IfModule>

NameVirtualHost *
<VirtualHost *>
<IfModule peruser.c>

      ServerEnvironment w_server virtwww
/home/virtwww/w_server
      MinSpareProcessors 4
      MaxProcessors 20
</IfModule>
      CustomLog
/var/log/virtwww/w_server/access.log
combined
      ErrorLog
/var/log/virtwww/w_server/error.log
      DocumentRoot /home/virtwww/w_server/http
      ServerName server-l1.com
      SuexecUserGroup w_server virtwww
</VirtualHost>

# ls -ld /home/
drwxr-x--x 11 root root 288 Apr  6 06:51 /home/

# ls -ld /home/virtwww
drwxr-x--x 3 root root 88 Apr  3 18:42 /home/virtwww

# ls -ld /home/virtwww/w_server/
drwx--x--- 4 w_server daemon 184 Apr  3 18:42
/home/virtwww/w_server/

# ls -ld /home/virtwww/w_server/http/
drwx---r-x 3 w_server virtwww 200 Apr  5 12:58
/home/virtwww/w_server/http/

When requesting server-l1.com, i sea in a log:
[Fri Apr 06 06:52:25 2007] [error] [client 192.168.0.22] File does not
exist: /home, referer: http://192.168.0.22/

Can you help me solve this problem?

--
BRGDS. Alexey Vlasov.

_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to