Corrected Regex for lighttpd rewrite

This commit is contained in:
Even Allmighty 2016-06-13 10:35:05 +02:00 committed by Thomas Citharel
parent eae86d3403
commit afbe800be2

View File

@ -226,7 +226,7 @@ Assuming you install wallabag in the /var/www/wallabag folder, here's the recipe
dir-listing.activate = "disable"
url.rewrite-if-not-file = (
"^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
"^/([^?]*)(?:\?(.*))?" => "/app.php?$1&$2",
"^/([^?]*)" => "/app.php?=$1",
)