DokuWiki

It's better when it's simple

User Tools

Site Tools


rewrite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rewrite [2017-08-29 17:41] – [IIS (or Microsoft Azure Web App)] 81.133.88.36rewrite [2019-05-29 10:59] mekineer
Line 1: Line 1:
 ====== URL Rewriting ====== ====== URL Rewriting ======
- 
-FIXME This page is a mess and should be rewritten. 
  
 By default, DokuWiki does no URL rewriting, resulting in URLs like this: By default, DokuWiki does no URL rewriting, resulting in URLs like this:
Line 33: Line 31:
 RewriteCond %{REQUEST_FILENAME}       !-f RewriteCond %{REQUEST_FILENAME}       !-f
 RewriteCond %{REQUEST_FILENAME}       !-d RewriteCond %{REQUEST_FILENAME}       !-d
-RewriteRule (.*)                      doku.php?id=$1  [QSA,L]+RewriteRule (.*)                      doku.php?id=$1  [L]
 RewriteRule ^index.php$               doku.php RewriteRule ^index.php$               doku.php
 </code> </code>
rewrite.txt · Last modified: 2024-03-13 11:51 by 185.177.84.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki