This is the setup on my server, serving userdirs without problems:
;User Apache is running as
webserver_user=www-data

;Path all scripts have to be in
check_vhost_docroot=false
docroot=/

Works fine, serving about 1.000.000 hits a day, almost all from user  
directories... php running as the user thanks to suphp.

Thomas

On 6-jun-07, at 17:07, Jaakko Heusala wrote:

> Hi again,
>
> Jaakko Heusala wrote:
>> How does the new userdir support work? I couldn't find any
>> documentation for it. I looked the source and it seems that you have
>> to set --with-setid-mode=paranoid or --with-setid-mode=force to use
>> that part of the code.
>>
>> How does paranoid or force work? Didn't find any documentation for
>> them either...
> Actually I managed to get suphp working with userdirs (URL's with
> http://server.domain.tld/~user/) but I am not sure the  
> configuration is
> secure.
>
> I compiled suPHP with mode-paranoid and configured /etc/suphp/ 
> suphp.conf
> so that docroot=/home and check_vhost_docroot=false, and php-files
> started to work inside the userdirs. This probably isn't the most  
> ideal
> solution because I would like to use check_vhost_docroot=true when
> userdir's aren't used - or maybe "vhost docroot" could be
> /home/user/public_html in this condition?
>
> I think those configuration settings are a bit misleading too.  
> AFAIK the
> docroot=/home affects the first global test but check_vhost_docroot
> tests the vhost's own docroot?
>
> PS: I hope this email goes to the list this time. This apparently  
> isn't
> my best day and it's already third attempt to sent it in correct
> address. :-)
>
> -- 
> Jaakko Heusala
>
> _______________________________________________
> suPHP mailing list
> suPHP@lists.marsching.biz
> http://lists.marsching.biz/mailman/listinfo/suphp


_______________________________________________
suPHP mailing list
suPHP@lists.marsching.biz
http://lists.marsching.biz/mailman/listinfo/suphp

Reply via email to