[dokuwiki] Re: URL rewriting: page prefix?

  • From: Tanguy Ortolo <tanguy+dokuwiki@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 16 May 2011 19:09:59 +0200

Andreas Haerter, 2011-05-16 17:45 UTC+0200:
> Wouldn't be a simple check if the accessed file or dir is really
> existing enough (at least for the root dir) to make really existing
> files accessible?

Well, no, for two reasons:
1. it is only usable with some web servers in some contexts: Apache HTTP
   Server implements it, but only in directory and htaccess context;
2. it resolves the ambiguity of a possible conflict, not the conflict
   itself: for instance, if there is a file called lib and a wiki page
   called lib too, then the file would win, thus rendering the wiki page
   impossible to access.

> I use a comparable rule to access my GnuPG Public key downloader at
> <http://andreas-haerter.com/contact/gpg-public-key> (a script which
> downloads my Key from a keyserver pool to deliver my key
> maintenance-free with as many signatures as possible) which is obviously
> not a DokuWiki file. :-)

Well, I hope that you will never have to create a page called
contact/gpg-public-key, then. :-)

-- 
 ,--.
: /` )   Tanguy Ortolo <xmpp:tanguy@xxxxxxxxx> <irc://irc.oftc.net/Elessar>
| `-'    Debian Maintainer
 \_

Other related posts: