X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mods%2Fsample-Lighttpd.config;h=c4ccc126655f11b385117b7463ceed50d7f40c9c;hb=9b820807a26c829faf8f8d78fa0cb89bad1b219f;hp=1c83700609c180fbee48df3e78cad5bbc4948006;hpb=eb1ba8934cb5283c50f5383d17638c11d27595fe;p=friendica.git diff --git a/mods/sample-Lighttpd.config b/mods/sample-Lighttpd.config index 1c83700609..c4ccc12665 100644 --- a/mods/sample-Lighttpd.config +++ b/mods/sample-Lighttpd.config @@ -102,9 +102,12 @@ $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" ) + $HOST["url"] =~ "^/bin/" { + url.access.deny ( "" ) + } } else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" { server.document-root = "/var/www/wordpress"