Skip to Content.
Sympa Menu

en - Re: [sympa-users] Use of static http variables in Conf.pm

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün <address@concealed>
  • To: Øystein Gyland <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Use of static http variables in Conf.pm
  • Date: Thu, 14 Feb 2008 09:19:43 +0100

Øystein Gyland a écrit :
Hi, in Conf.pm there are a couple of variables set with a static http prefix:

Line 344: $o{'wwsympa_url'}[0] = "http://$o{'host'}[0]/sympa";
Line 672: $robot_conf->{$robot}{'wwsympa_url'} ||=
'http://'.$robot_conf->{$robot}{'http_host'}.'/sympa';

( /wws is replaced with /sympa ref today's reply to Ståle from Olivier
Salaün ).

Thus will every link generated by the functions in bin/etc/mail_tt2
contain a http prefix. We would like to use https instead, therefore we
introduced a new variable http_prefix so that the Sympa administrator
can set this prefix.
You don't have to introduce a new variable ; you should set the "wwsympa_url" sympa.conf parameter instead. This parameter should be set to the root URL of Sympa web interface, see example bellow :

wwsympa_url https://listserver.usit.uio.no/sympa

Note that you can define the same parameter for your virtual hosts, in robot.conf files.
Diff/patch is here:
http://folk.uio.no/oystegy/sympa/http-prefix.patch





Archive powered by MHonArc 2.6.19+.

Top of Page