httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: mod_cgid docs
Date Sat, 05 May 2001 20:27:07 GMT
On Sat, 5 May 2001, Joshua Slive wrote:

> Attached is just a quick scratch at some docs for mod_cgid.
> (Also available at
> )

I haven't had a chance to review the docs, but here are the answers to
your questions.

> - Under what circumstances is mod_cgid used and when is mod_cgi
> used?

Mod_cgid should be used whenever you are using a threaded MPM on Unix.
The reason for the module, is that Unix platforms historically are really
bad at forking threaded processes.  They tend to create all the threads,
then kill off all but one in the new process.  The IPC is less expensive
than this horribly inefficient forking.

> - Are there any security concerns related to the value of ScriptSock?
> (ie. Should we warn against placing it in a non-root writable
> directory?)

The ScriptSock should be placed in a non-root writable directory.  That
socket is used to communicate with the CGI daemon process, so there are
definately security concerns around using it.

> - Are there any other differences between mod_cgi and mod_cgid that should
> be documented?



Ryan Bloom               
406 29th St.
San Francisco, CA 94131

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message