[Toolserver-l] change of regular expression behaviour in rewrite scripts

Platonides platonides at gmail.com
Wed Aug 19 22:05:43 UTC 2009


River Tarnell wrote:
> Platonides:
>> I understand the problem was the process creation needed by mod_suphp
>> (that's also why the switchserver was tried).
> 
> that is correct.
> 
>> How does Zeus run the scripts as different users?
> 
> it starts a FastCGI process as the user when a request comes in.  when
> the request is finished, it caches the fastcgi process for a few minutes
> until the next request for that user appears.  if no request appears, it
> kills the process.
> 
> this way, for users with popular tools, there is always a PHP process
> around to serve it without having to start one.  for less popular users,
> a new process would have to be started on each request, but since the
> request rate is so low, that's not an issue.
> 
> ZWS supports both ISAPI and NSAPI, and i suppose you could run PHP that
> way, but then everything would run as the web server user, just like
> mod_php.
> 
> 	- river.

I see. It's an optimization by lazy killing the fastcgi processes.



More information about the Toolserver-l mailing list