[Fedora-directory-users] mod_cgi or mod_cgid for adminserver?

PGNet pgnet.trash at gmail.com
Wed Sep 10 00:42:58 UTC 2008


Per docs @ http://directory.fedoraproject.org/wiki/AdminServer,

	"Admin Server is ... formerly based on the Netscape Enterprise Server
but has been ported to use the Apache 2.x webserver using the Worker
model (multi-threaded mode, not multi process)."

I've installed as prereq,

	httpd2 -V | grep MPM
		Server MPM:     Worker
		 -D APACHE_MPM_DIR="server/mpm/worker"

Per, "Apache Module mod_cgid"
(http://httpd.apache.org/docs/2.2/mod/mod_cgid.html(,

	"This module (mod_cgid) is used by default instead of mod_cgi
whenever a multi-threaded MPM is selected during the compilation
process. At the user level, this module is identical in configuration
and operation to mod_cgi. The only exception is the additional
directive ScriptSock which gives the name of the socket to use for
communication with the cgi daemon."

In FedoraDS' install of adminserver, mod_cgi is loaded (and fails
@exec, as it's not installed by default),

	@ #144  /etc/dirsrv/admin-serv/httpd.conf
		 LoadModule cgi_module /usr/lib64/apache2-worker/mod_cgi.so

and, also references mod_cgid.c,
	@ #392  /etc/dirsrv/admin-serv/httpd.conf
		<IfModule mod_cgid.c>
		...
		</IfModule>

which will never hit as mod_cgid is not @ LoadModule.

Should mod_cgi, then, be loaded for FedoraDS use, or mod_cgid?

Thanks.




More information about the Fedora-directory-users mailing list