Browse Source

updated sample lighttpd config regarding the pagename parameter

pull/7751/head
Tobias Diekershoff 2 years ago
parent
commit
2a526236fd
  1. 4
      mods/sample-Lighttpd.config

4
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)" {

Loading…
Cancel
Save