X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d0764e86de15b0121d60b2fe5ffbcf9eeb4d7aff..87ae4cfb25a38592bc74cfb2f494386acfabfb07:/doc/tips/usedirs_redirections.mdwn diff --git a/doc/tips/usedirs_redirections.mdwn b/doc/tips/usedirs_redirections.mdwn index ef356a082..b6e85aac8 100644 --- a/doc/tips/usedirs_redirections.mdwn +++ b/doc/tips/usedirs_redirections.mdwn @@ -4,10 +4,10 @@ RewriteEngine. This example is for a wiki at the top of a web site, but can be adapted to other situations. # pages - RewriteCond $1 !^/~ # these pages - RewriteCond $1 !^/doc/ # are not part of - RewriteCond $1 !^/ajaxterm # the wiki, so - RewriteCond $1 !^/cgi-bin/ # don't rewrite them + RewriteCond $1 !^/~ # these pages + RewriteCond $1 !^/doc/ # are not part of + RewriteCond $1 !^/ajaxterm # the wiki, so + RewriteCond $1 !^/cgi-bin/ # don't rewrite them RewriteCond $1 !.*/index$ RewriteRule (.+).html $1/ [R]