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: Uli Schellhaas <address@concealed>
  • To: Venkat R <address@concealed>
  • Cc: <address@concealed>, <address@concealed>
  • Subject: Re: [sympa-users] [sympa-dev] WWSYMPA.CGI problem
  • Date: Tue, 12 Mar 2013 16:11:52 +0100

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