NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item9869: Max URL shortening broken by ScriptSuffix
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Engine |
|
|
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