Skip to Content.
Sympa Menu

en - RE: [sympa-users] [sympa-dev] WWSYMPA.CGI problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Venkat R <address@concealed>
  • To: <address@concealed>, <address@concealed>
  • Cc: <address@concealed>, <address@concealed>
  • Subject: RE: [sympa-users] [sympa-dev] WWSYMPA.CGI problem
  • Date: Tue, 12 Mar 2013 08:42:15 -0400

Hi Uli,

Here is my configuration for apache and the error I am getting in apache logs and nothing happening on the sympa logs. Seems the request not getting there with the user name change for apache to sympa?
Error in Apache error_log:
[Tue Mar 12 05:30:49 2013] [error] [client ::1] Setuid script changed
[Tue Mar 12 05:30:49 2013] [error] [client ::1] Premature end of script headers: wwsympa-wrapper.fcgi
[Tue Mar 12 05:33:48 2013] [error] [client ::1] Setuid script changed
[Tue Mar 12 05:33:48 2013] [error] [client ::1] Premature end of script headers: wwsympa.fcgi
[Tue Mar 12 05:33:49 2013] [error] [client ::1] Setuid script changed
[Tue Mar 12 05:33:49 2013] [error] [client ::1] Premature end of script headers: wwsympa.fcgi
[Tue Mar 12 05:33:49 2013] [error] [client ::1] Setuid script changed
[Tue Mar 12 05:33:49 2013] [error] [client ::1] Premature end of script headers: wwsympa.fcgi

Sympa log(nothing after the serv! ice is started):
Mar 12 05:33:30 localhost bulk[17380]: notice bulk.pl 6.1.17 Started
Mar 12 05:33:32 localhost archived[17388]: notice archived 6.1.17 Started
Mar 12 05:33:33 localhost bounced[17394]: notice bounced Started
Mar 12 05:33:35 localhost task_manager[17400]: info Configuration file read, default log level 0


sympa_httpd.conf(Pls note that I switched wwsympa-wrapper.fcgi in this example but tried that too):

#sympa
Alias /static-sympa /home/sympa/static_content
ScriptAlias /sympa /home/sympa/bin/wwsympa.fcgi
#LoadModule fcgid_module modules/mod_fcgid.so

Apache httpd.conf
User sympa
Group sympa
# Sympa related testing for CGI
<Directory /home/*/bin>
    Options +ExecCGI
    AddHandler cgi-script .cgi .fcgi .pl
</Directory>

<Directory "/home/sympa/bin">

  Order allow,deny
  Allow from all
</Directory>

Thanks,
Venkat



Date: Tue, 12 Mar 2013 20:27:26 +0800
From: address@concealed
To: address@concealed
CC: address@concealed; address@concealed; address@concealed
Subject: Re:Re: [sympa-users] [sympa-dev] WWSYMPA.CGI problem


apache suexec also doesn't work .I will try mailman .





At 2013-03-12 20:17:33,"Uli Schellhaas" <address@concealed> wrote: >Hello, > >i fought with this Problem for some time, using wrapper or not, this or  >that fcgi module and so on, and finally i was so fed up that i decided  >to have my apache run under user sympa, since its the only website this  >apache is hosting. > >I configured my linux  (Startscript, System Apache config) for the user,  >and finally i search for any file owned by www-data and replaced ownership. > >Dirty, and maybe not apache upgrade proof. I will see. > >greetings



Archive powered by MHonArc 2.6.19+.

Top of Page