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>
  • Cc: <address@concealed>, <address@concealed>
  • Subject: RE: [sympa-users] [sympa-dev] WWSYMPA.CGI problem
  • Date: Wed, 13 Mar 2013 07:41:48 -0400

So far looks good until I got to create the list at which point I am getting this error in apache logs. No error in the sympa log, but list creation is not working and getting internal server error in the browser. Any thoughts?
[Wed Mar 13 03:15:27 2013] [error] [client 1 Insecure dependency in mkdir while running setuid at /home/sympa/bin/admin.pm line 253., referer: http://address/sympa
[Wed Mar 13 03:15:27 2013] [error] [client 1] Premature end of script headers: wwsympa-wrapper.fcgi, referer: http://address/sympa
[root@localhost /]#


Thanks,
Venkat

> Date: Tue, 12 Mar 2013 16:11:52 +0100
> From: address@concealed
> To: address@concealed
> CC: address@concealed; address@concealed
> Subject: Re: [sympa-users] [sympa-dev] WWSYMPA.CGI problem
>
> Hello,
>
> i got 12.04.02 ubuntu precise
>
> with getent passwd i got the uid of the apache user , with getent group
> i got the gid of the users group.
>
> i had to edit
> vi /usr/sbin/apache2ctl
>
> : line 110 install -d -o ${APACHE_RUN_USER:-sympa}
>
> vi /etc/apache2/envvars
>
> : export APACHE_RUN_USER=sympa
> : export APACHE_RUN_GROUP=sympa
>
> then give any apache (www-data ) owned file to sympa uid/group
> cd /
> find . -uid 33 -exec chown sympa {} \;
> find . -gid 33 -exec chgrp sympa {} \;
>
> i got fastcgi not fcgi mod:
>
> vi /etc/apache2/mods-enabled/fastcgi.conf
> : AddHandler fastcgi-script .fcgi
>
> relevant vhost config:
> ScriptAlias /sympa /var/www/listen/cgi-bin/wwsympa.fcgi (owned by sympa)
> ScriptAlias /sympahome /home/sympa/bin
> ScriptAlias /cgi-bin/ /var/www/listen/cgi-bin/
>
> Alias /wwsicons /home/sympa/static_content/icons
> Alias /wws /var/www/listen/cgi-bin/wwsympa-wrapper.fcgi
> Alias /static-sympa /home/sympa/static_content
>
> i guess its not relevant, but
> var/www/listen/cgi-bin/wwsympa-wrapper.fcgi content is:
>
> #!/bin/bash
> # Path to your real wwsympa.fcgi
> exec /home/sympa/bin/wwsympa.fcgi
>
> owned by root
>
>
> my sympa version is latest from the webpage, patched for certificates.
>
>
>



Archive powered by MHonArc 2.6.19+.

Top of Page