Fwd: [Mailman-Users] Mailman CGI error!!!
John Dennis
jdennis at redhat.com
Wed Feb 16 22:04:11 CET 2005
jpsota at gmail.com wrote:
> I think we may be getting somewhere because my httpd.conf file is not
> consistent with yours. I'm running apache2, and I seem to remember
> installing it from source (although I'm not sure about that).
hehe ... I'll bite my tounge :-) :-)
BTW, we've been shipping apache 2 for a long time now.
> Here's the only User and Group entry in the file:
>
> <IfModule !mpm_winnt.c>
> <IfModule !mpm_netware.c>
> #
> # If you wish httpd to run as a different user or group, you must run
> # httpd as root initially and it will switch.
> #
> # User/Group: The name (or #number) of the user/group to run httpd as.
> # . On SCO (ODT 3) use "User nouser" and "Group nogroup".
> # . On HPUX you may not be able to use shared memory as nobody, and the
> # suggested workaround is to create a user www and use that user.
> # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
> # when the value of (unsigned)Group is above 60000;
> # don't use Group #-1 on these systems!
> #
> User nobody
> Group #-1
> </IfModule>
> </IfModule>
>
> Should I remove the IfModule clauses and add the following instead?
>
> User apache
> Group apache
I think, but I'm not sure, you should check the apache doc, but those
IfModules are saying if you're not on Windows and not on NewWare then
you must be Unix so set the user and group, thus I think you can leave
them alone.
At any rate, User has to be apache and Group has to be apache. I'll bet
that gets you a lot further. Of course you'll have to restart apache.
Given that you're not using our rpm I don't know if you've got the right
init.d script for apache, (using our rpm will assure you've got all this
ancillary stuff working and configured correctly too). If you do then
the command as root is:
/sbin/service httpd restart
Oh, one more thing apache as a system service is known as "httpd"
HTH
John
--
John Dennis <jdennis at redhat.com>
More information about the Mailman-Users
mailing list