Item9869: Max URL shortening broken by ScriptSuffix
Priority: Normal
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
Component:
Branches:
It appears that when
{ScriptSuffix}
is set to
.pl
and with maximum shortening is enabled (
{ScriptUrlPaths}{view} = '';
) then the ScriptSuffix is appended to the hostname for the view and pub URLs.
- <base href="http://foswiki.myhost.com.pl/System/WebHome" />
- <meta name="foswiki.PUBURL" content="http://foswiki.myhost.com.pl/pub" />
- <meta name="foswiki.SCRIPTURL" content="http://foswiki.myhost.com.pl/bin" />
- <a href="http://foswiki.myhost.com.pl/System/TipTopic021"
LocalSite.cfg contained:
$Foswiki::cfg{DefaultUrlHost} = 'http://foswiki.myhost.com';
$Foswiki::cfg{ScriptUrlPath} = '/bin';
$Foswiki::cfg{ScriptUrlPaths}{view} = '';
$Foswiki::cfg{ScriptDir} = '/var/www/foswiki/trunk/core/bin';
$Foswiki::cfg{ScriptSuffix} = '.pl';
--
GeorgeClark - 23 Oct 2010