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 foswiki.org work with Safari, so I suspect this is a configuration problem on our end. Any suggestions would be greatly appreciated.
For example, please see:
https://foswiki.classe.cornell.edu/classe/Sandbox/TestTopic8
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