• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

TWiki supports URL rewrite by virtue of the SCRIPTURLPATHS configure option.

To get the smallest possible URLs, it is desirable that view script be ''.

That is, the main page is:


Currently, you can set this with an absolute path, but a relative path is more desireable from a portability standpoint.

Note: I maintain support for view via servername/twiki/bin/view as well since not all places use the https://develop.twiki.org/do/view yet.

lib/TWiki.pm line 895:

unless( $url ) {

should be:

unless( defined( $url ) ) {

This seems more proper anyway, you want to know if it's already set, not if it's value is false.

Hopefully this will just sneak in under the bar for 4.0.3


Summary Support for shortest view URLs
ReportedBy TWiki:Main.JadeCravy
Codebase 4.0.2, 4.0.1
SVN Range Sun, 18 Jun 2006 build 10637
AppliesTo Engine

Priority Low
CurrentState Closed

Checkins 10706
TargetRelease patch
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-06-28 - SteffenPoulsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback