From: otbutz Date: Tue, 24 May 2022 09:32:59 +0000 (+0200) Subject: Change to regular regex group X-Git-Tag: v4.1.0~37^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/d1cd2d167475fe7142ccab5d658d1a0cd85f7c2a?hp=22bd9c4993ecb07d6c0b4f95d35c98bdfd98660d Change to regular regex group --- diff --git a/docs/admin/Setup-Nominatim-UI.md b/docs/admin/Setup-Nominatim-UI.md index 02ff7df1..7f012660 100644 --- a/docs/admin/Setup-Nominatim-UI.md +++ b/docs/admin/Setup-Nominatim-UI.md @@ -163,14 +163,14 @@ directory like this: # If format-html is explicity requested, forward to the UI. RewriteCond %{QUERY_STRING} "format=html" - RewriteRule ^([^/]+)(?:.php)? ui/$1.html [R,END] + RewriteRule ^([^/]+)(.php)? ui/$1.html [R,END] # If no format parameter is there then forward anything # but /reverse and /lookup to the UI. RewriteCond %{QUERY_STRING} "!format=" RewriteCond %{REQUEST_URI} "!/lookup" RewriteCond %{REQUEST_URI} "!/reverse" - RewriteRule ^([^/]+)(?:.php)? ui/$1.html [R,END] + RewriteRule ^([^/]+)(.php)? ui/$1.html [R,END] ```