[Mailman-Users] Premature end of script headers

test 123king test123king at yahoo.com
Fri Sep 29 17:05:01 CEST 2006


Yes, it is apache, please see below:

[root at fedora1 conf]# grep User httpd.conf
# User/Group: The name (or #number) of the user/group to run httpd as.
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
User apache

[root at fedora1 conf]# grep Group httpd.conf
# User/Group: The name (or #number) of the user/group to run httpd as.
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
#  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!
Group apache

Also you can see is running under apache:

[root at fedora1 conf]# ps aux|grep httpd
root      3345  0.0  0.9  40344 19628 ?        Ss   Sep28   0:02 /usr/sbin/httpd -k start
apache   21980  0.0  1.3  49212 28704 ?        S    10:11   0:01 /usr/sbin/httpd -k start
apa

Thanks.

Mark Sapiro <msapiro at value.net> wrote: test 123king wrote:
>
>check_perms doesn't find any problem, and SeLinux is disabled.
>Any other thoughts?


In the OP you said running the cgi via sudo -u apache worked, but are
you sure this is invoking the wrapper with the same user and group
(group is the critical thing) as Apache does. Do you have User and/or
Group directives in your httpd.conf? (defaults are #-1 for both).

-- 
Mark Sapiro        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



 		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.


More information about the Mailman-Users mailing list