[dokuwiki] Re: DW as a catch-all CMS?

  • From: "Lorenzo Breda" <lorenzo@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 27 Aug 2008 08:52:53 +0200

"Terence J. Grant" <tjgrant@xxxxxxxxxxxx> ha scritto:
>
>I have a vague idea of how I would do this via mod_rewrite (which I
>have available) passing an "id" parameter passed to /index.php, which
>would fetch from /wiki/doku.php, but I think my approach would be
>somewhat messy.

A simple approach would be this:

Using mod_rewrite (Google), you can redirect urls like /foo to
/index.php?q=foo in a transparent way. So you create an appropriate
index.php that manages redirects.

If you can use regexp (I'm not so good) you can do the same thing
without an index.php. mod_rewrite is your friend ^_^.

My 2 cents,

-- 
Lorenzo Breda
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: