From 2a526236fd07346a4b1934875c598d5766c672e7 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Thu, 17 Oct 2019 07:47:28 +0200 Subject: [PATCH] updated sample lighttpd config regarding the pagename parameter --- mods/sample-Lighttpd.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/sample-Lighttpd.config b/mods/sample-Lighttpd.config index 1c8370060..fb8ef0b2a 100644 --- a/mods/sample-Lighttpd.config +++ b/mods/sample-Lighttpd.config @@ -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)" {