httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
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
> http://garibaldi.commerce.ubc.ca:8080/ap20/manual/mod/mod_cgid.html )

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?

Nope.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: apache-docs-unsubscribe@apache.org
For additional commands, e-mail: apache-docs-help@apache.org


Mime
View raw message