On 10-oct-08, at 12:28, Antonio Pérez wrote: > On Fri, Oct 10, 2008 at 11:06 AM, Benjamin Podszun > <[EMAIL PROTECTED]> wrote: > >> On lighttpd I'm used to define a php fastcgi socket per vhost and >> spawning >> the processes manually, giving each of them different UIDs/GIDs. Is >> there a >> nice way to do that from the cherokee administration? The >> documentation >> talks only about the most basic setting for this scenario, but for >> multiple >> unrelated vhosts I cannot (and don't want to) run the fastcgi >> processes >> with a) the same single user or b) the user of the webserver > > I think you can spawn php fascgi processes outside Cherokee, each with > his own socket, and define "Info sources" on Cherokee config that > "link" to those processes. Then, link php extension on each virtual > host to his "info source".
Yeah, nothing changes actually. If you take care of running the FastCGI server in the different servers, the only thing left is to let Cherokee know about them by: - Adding a Info Source pointing for each one - Configuring the Behavior Rule according with the result you expect. Mainly, assigning the different Information sources to one or more FastCGI handler entries. > I hope you understand what I mean. :) We definitely ought to find an easy way to record mini-screencasts about this sort of things. It'd be much more easy.. -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
