Hi,

To give a try I recently installed

httpd-2.2.3
httpd-2.2.3-peruser-0.3.0.patch
php-5.2.5

Now I require bit a help out here.

Everything compiled and apache started successfully, however after
configuration and several attempt it seems the per user child apache
process is not finding the Document root directory since it is being
chrooted by parent httpd , or am I doing something wrong config? Any
tips will be appreciated.

[Fri Jan 25 11:30:45 2008] [error] [client 202.79.36.161] File does not
exist: /web/vhosts
[Fri Jan 25 11:34:39 2008] [error] [client 202.79.36.161] File does not
exist: /web/vhosts
[Fri Jan 25 11:34:54 2008] [error] [client 202.79.36.161] File does not
exist: /web/vhosts
[Fri Jan 25 11:41:13 2008] [error] [client 202.79.36.161] File does not
exist: /web/vhosts

localhost src # ls -al /web
drwxr-xr-x  3 root nobody 4096 Jan 25 11:39 .
drwxr-xr-x 19 root root   4096 Jan 25 00:43 ..
drwxr-xr-x  4 root nobody 4096 Jan 25 11:39 vhosts

localhost src # ls -al / | grep web
drwxr-xr-x  3 root nobody      4096 Jan 25 11:39 web

localhost src # cat /usr/local/apache2/conf httpd.conf

Include /etc/apache/vhosts.d/*.*
</IfModule>
<IfModule peruser.c>
~        ServerLimit 256
~        MaxClients 256
~        MinSpareProcessors 2
~        MaxProcessors 20
MaxRequestsPerChild 1000
IdleTimeout 60
ExpireTimeout 300
Multiplexer nobody nobody
Multiplexer nobody nobody
Multiplexer nobody nobody
Multiplexer nobody nobody
Multiplexer nobody nobody
Multiplexer nobody nobody
Processor rustan nobody /web/vhosts/rustan.com.np/httpdocs
Processor prabinsh nobody /web/vhosts/prabinsh.com.np/httpdocs
</IfModule>


cat /etc/apache/vhosts.d/prabinsh.com.np

<VirtualHost 202.79.36.13:80>
~        ServerAdmin [EMAIL PROTECTED]
~        DocumentRoot  /web/vhosts/prabinsh.com.np/httpdocs
~        ServerName prabinsh.com.np
~        ServerAlias www.prabinsh.com.np
<IfModule peruser.c>
~                Processor prabinsh nobody
/web/vhosts/prabinsh.com.np/httpdocs
~                ServerEnvironment prabinsh nobody
/web/vhosts/prabinsh.com.np/httpdocs
~                MinSpareProcessors 2
~                MaxProcessors 20
~        </IfModule>
Include /usr/local/apache2/modules/vhosts_php
ErrorLog /web/vhosts/prabinsh.com.np/logs/error.log
CustomLog /web/vhosts/prabinsh.com.np/logs/access.log common
</VirtualHost>


Regards,
Samit


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

Reply via email to