lighttpd forum migration > Suexec from Apache

Posted by Wee Teck (Guest)
on 23.05.2006 04:51
I have a virtualhost on Apache 2 which looks like this

<VirtualHost xxxx>
     User user2
     Group user2
     DocumentRoot .....
</VirtualHost>


How can I migrate to Lighttpd so that CGI that executes is using user2 
instead of the user that lighttpd is running.
Posted by SFfreak (Guest)
on 12.09.2007 12:52
Wee Teck wrote:
> I have a virtualhost on Apache 2 which looks like this
> 
> <VirtualHost xxxx>
>      User user2
>      Group user2
>      DocumentRoot .....
> </VirtualHost>
> 
> 
> How can I migrate to Lighttpd so that CGI that executes is using user2 
> instead of the user that lighttpd is running.

I was wondering the same thing, but instead of CGI I use PHP 
(FastCGI)...
Posted by Willy (Guest)
on 14.09.2007 06:37
Wee Teck wrote:
> I have a virtualhost on Apache 2 which looks like this
> 
> <VirtualHost xxxx>
>      User user2
>      Group user2
>      DocumentRoot .....
> </VirtualHost>
> 
> 
> How can I migrate to Lighttpd so that CGI that executes is using user2 
> instead of the user that lighttpd is running.


You could have had a look at the wiki you know..

http://trac.lighttpd.net/trac/wiki/SuEXEC