updated sample lighttpd config regarding the pagename parameter

Cette révision appartient à :
Tobias Diekershoff 2019-10-17 07:47:28 +02:00
Parent 81de61c6a7
révision 2a526236fd
1 fichiers modifiés avec 2 ajouts et 2 suppressions

Voir le fichier

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