]> git.mxchange.org Git - friendica.git/commitdiff
updated sample lighttpd config regarding the pagename parameter
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 17 Oct 2019 05:47:28 +0000 (07:47 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 17 Oct 2019 05:47:28 +0000 (07:47 +0200)
mods/sample-Lighttpd.config

index 1c83700609c180fbee48df3e78cad5bbc4948006..fb8ef0b2a4fbdb001cf22bcb4487dfbd04e0202d 100644 (file)
@@ -102,8 +102,8 @@ $HTTP["scheme"] == "https" {
         # Got the following 'Drupal Clean URL'after Mike suggested trying
         # something along those lines, from http://drupal.org/node/1414950
         url.rewrite-if-not-file = (
-            "^\/([^\?]*)\?(.*)$" => "/index.php?q=$1&$2",
-            "^\/(.*)$" => "/index.php?q=$1"
+            "^\/([^\?]*)\?(.*)$" => "/index.php?pagename=$1&$2",
+            "^\/(.*)$" => "/index.php?pagename=$1"
         )
     }
     else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" {