New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Configuration: Answered

Anchors not working in Safari

In both of our installations of foswiki, page anchors (for example, in a table of contents), don't work in Safari. They do work in Firefox. Anchors in work with Safari, so I suspect this is a configuration problem on our end. Any suggestions would be greatly appreciated.

For example, please see:

Our configuration is attached:

-- DevinBougie - 20 Dec 2012

Your short urls are misconfigured, The page loads via ...classe/. The anchors use ...classe/bin/view/. So the browser thinks that this is a completely different page. Even in Firefox you should be able to see a full page reload clicking on an anchor.

Use this to fix the issue:

$Foswiki::cfg{ScriptUrlPaths}{view} = '';

-- MichaelDaum - 20 Dec 2012

Thank you, Michael! With that I got a "404" error because anchors pointed to .../Sandbox/TestTopic8... instead of .../classe/Sandbox/TestTopic8.... This appears to work, however.

$Foswiki::cfg{ScriptUrlPaths}{view} = '/classe';

-- DevinBougie - 21 Dec 2012

QuestionForm edit

Subject Configuration
Version Foswiki 1.1.6
Status Answered
Related Topics
Topic attachments
I Attachment Action Size Date Who Comment
LocalSite.cfgcfg LocalSite.cfg manage 28 K 20 Dec 2012 - 17:03 DevinBougie  
Topic revision: r3 - 21 Dec 2012, DevinBougie - This page was cached on 17 Sep 2018 - 22:24.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy