Skip to Content.
Sympa Menu

en - Re: [sympa-users] mhonarc & sympa 2

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] mhonarc & sympa 2
  • Date: Thu, 28 Nov 2002 14:23:46 +0100

Hi Hanke,

Hanke Penning wrote:
Found the problem.

In wws-templates (main.de.tpl for example)is an entry like

[IF base]
<BASE HREF="[base]">
[ENDIF]

After removing that entry everything works fine.

Almost everything : links to messages on the main (first) archives page will
not work, because it refers to the current month, but the month (YYYY-MM) is
not in the URL. That's why BASE is required.

Next question is:
How is "base" determined?

Is that a problem made by the browser? I'm using Mozilla 1.2.

Here is the algorythm for BASE_uRL :
if ($ENV{'HTTPS'} eq 'on') {
$param->{'base_url'} = sprintf 'https://%s', $ENV{'HTTP_HOST'};
$param->{'use_ssl'} = 1;
}else {
$param->{'base_url'} = sprintf 'http://%s', $ENV{'HTTP_HOST'};
$param->{'use_ssl'} = 0;
}

$param->{'base'} = sprintf "%s%s/arc/%s/%s/", $param->{'base_url'},
$param->{'path_cgi'}, $param->{'list'}, $in{'month'};


--
Olivier Salaun
Comite Reseau des Universites



  • mhonarc & sympa 2, Hanke Penning, 11/28/2002
    • Re: [sympa-users] mhonarc & sympa 2, Olivier Salaun - CRU, 11/28/2002

Archive powered by MHonArc 2.6.19+.

Top of Page