Skip to Content.
Sympa Menu

en - Re: [sympa-users] RE: Incorrect BASE tag in Sympa archive

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün <address@concealed>
  • To: "Koshokin, Alexey" <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] RE: Incorrect BASE tag in Sympa archive
  • Date: Thu, 29 Jul 2010 17:58:23 +0200

Hi Alexey,

Eventually we've fixed the BASE set by wwsympa.fcgi to fix the issue you reported.
See <https://sourcesup.cru.fr/tracker/index.php?func=detail&aid=6879&group_id=23&atid=167> for details.

Thanks for reporting this bug.

Le 16/05/2010 16:41, Koshokin, Alexey a écrit :

Voila! The issue has been reproduced easily, try to click on any internal link and instead of jumping to the right section of the page, it fail back to the list if messages. Can you fix this, S.V.P?

 

--

a.k.

 

From: address@concealed [mailto:address@concealed] On Behalf Of Koshokin, Alexey
Sent: Sunday, May 16, 2010 6:38 PM
To: Olivier Salaün
Cc: address@concealed
Subject: RE: [sympa-users] RE: Incorrect BASE tag in Sympa archive

 

Oliver, I will try to reproduce the issue right here in the distribution list. I created a page with list of cities and bookmarks. Hope to see that wrong “BASE” tag inside. Sorry it this disturbs you. J

 

Russian Cities

Ukrainian Cities

Belarusian Cities

Russian Cities

Moscow

Saint Petersburg

Nizhny Novgorod

Kirov

Vologda

Samara

Vladivostok

Kaliningrad

Ekaterinburg

Sochi

Kazan

Rostov-on-Don

Volgograd

Khabarovsk

Omsk

Krasnodar

Arkhangelsk

Vladimir

Krasnoyarsk

Novosibirsk

Saratov

Murmansk

Izhevsk

Perm

Chelyabinsk

Tver

Irkutsk

Yaroslavl

Novgorod Veliky

Smolensk

Pskov

Taganrog

Arzamas

Pereslavl-Zalessky

Saransk

Ivanovo

Kostroma

 

Ukrainian Cities

Kiev

Kharkov

Dnepropetrovsk

Odessa

Donetsk

Zaporozhie

Lvov

Kryvoi Rog

Nykolaev

Mariupol

Luhansk

Izmail

Vinnytsia

Simferopol

Sevastopol

Kherson

Poltava

Chernigov

Cherkasy

Sumy

Zhytomyr

Dniprodzerzhynsk

Kirovograd

Khmelnytskyi

 

Belarusian Cities

Minsk

Brest

Gomel

Grodno

Mogilev

Vitebsk

 

 

 

--

a.k.

 

From: address@concealed [mailto:address@concealed] On Behalf Of Koshokin, Alexey
Sent: Friday, May 07, 2010 1:53 PM
To: Olivier Salaün
Cc: address@concealed
Subject: RE: [sympa-users] RE: Incorrect BASE tag in Sympa archive

 

Olivier,

  Our messages usually have embedded links to the same page. To let this working in Sympa, the BASE must include the html file name additionally to the path like https://listes.cru.fr/sympa/arc/sympa-users/2010-05/

 

In other words, if we had in BASE https://listes.cru.fr/sympa/arc/sympa-users/2010-05/msg00016.html instead of what we have now, this would solve the issue.

 

--

a.k.

 

From: Olivier Salaün [mailto:address@concealed]
Sent: Friday, May 07, 2010 1:41 PM
To: Koshokin, Alexey
Cc: address@concealed
Subject: Re: [sympa-users] RE: Incorrect BASE tag in Sympa archive

 

Hi Alexey,

The HTML <base> tag is inserted by Sympa in all archive browsing web pages. This is required to have proper archive browsing in Sympa while using mhonarc to build HTML versions of messages. A typical value for the base tag would be <base href=""https://listes.cru.fr/sympa/arc/sympa-users/2010-05/"" />. It works fine for all Sympa sites; the question being "why is it broken on your Sympa server?".

Here is the algorithm sympa uses to build the base_url, which is used to build the <base> tag:

    if ($ENV{'HTTPS'} eq 'on') {
       $param->{'base_url'} = sprintf 'https://%s', &get_header_field('HTTP_HOST');
       $param->{'use_ssl'} = 1;
    }else {
       $param->{'base_url'} = sprintf 'http://%s', &get_header_field('HTTP_HOST');
       $param->{'use_ssl'} = 0;
    }

Note that get_header_field() looks for HTTP_X_FORWARDED_HOST or HTTP_HOST environment variables.
Maybe none of those are defined by your web server...

If you need more support, you should provide us with :

  • what the <base> tag looks like in your case
  • informations about your sympa.conf/wwsympa.conf
  • details about your HTTP server configuration (proxy, etc)


Note that the <base> tag is included in Sympa web pages through the web_tt2/main.tt2 template :

[% IF base %] <base href=""[%" base %]" /> [% END %]


Le 06/05/2010 19:09, Koshokin, Alexey a écrit :

Dear colleagues!
  Is there any idea why Sympa adds this incorrect BASE tag?
 
 
-----Original Message-----
From: Koshokin, Alexey 
Sent: Friday, April 02, 2010 11:47 PM
To: 'address@concealed'
Subject: Incorrect BASE tag in Sympa archive
 
Dear Sympa gurus and especially Sympa developers!
 
Quite often we have HTML formatted emails with internal HTML bookmarks inside.
Unfortunately having passed through Sympa, the email in Archive obtains incorrect extra HTML tag "BASE". Generally in HTML the tag should include the HTML page name, however in Sympa archive the tag consists only of lone path without HTML file name.
 
Needless to say, that with that tag inserted, click on the internal HTML link leads to nowhere instead of jumping to certain part of HTML page.
 
Original email message does not have the "BASE" tag.
I talked to author of Mhonarc to make sure it was not Mhonarc's results.
 
What's the reason to include the "BASE" tag? Is it possible to disable it or make it correct? 
 
 
--
Alexey Koshokin
 
 
--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation
 
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
 
 
  

 

 
--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation
 
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
 
--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation
 
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
  




Archive powered by MHonArc 2.6.19+.

Top of Page