change example rewrite rules to something that also catches the "nocache"
authorStefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Sun, 26 May 2013 23:58:09 +0000 (19:58 -0400)
committerStefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Sun, 26 May 2013 23:58:09 +0000 (19:58 -0400)
versions of the mw pages

tools/communityauth/sample/php/mediawiki/README.rst

index 1a35e99624ae9c14f42ee3fb52cd20b932ebfe6d..d348ca809070d8117c437b79a83c37119173779e 100644 (file)
@@ -24,7 +24,7 @@ lighttpd::
         url.rewrite-once = (
                "^/wiki/([^?]*)(?:\?(.*))?" => "/index.php?title=$1&$2",
                "^/index.php\?title=Special:UserLogin&returnto=(.*)" => "/pgauth/login.php?r=$1",
-               "^/index.php\?title=Special:UserLogout&returnto=(.*)" => "/pgauth/logout.php",
+               "^/index.php\?title=Special:UserLogout&returnto=" => "/pgauth/logout.php",
         )
 
 It should be added after the regular mediawiki rewrites (included here