1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Ensure lighttpd docs handle doubled-path redirects

This commit is contained in:
Rob Pilling 2023-09-18 18:03:17 +01:00
parent d3b78e0246
commit 8e8c652225

View file

@ -371,7 +371,7 @@ RequestHeader set X-Script-Name /radicale
Example **lighttpd** configuration:
```lighttpd
server.modules += ( "mod_proxy" , "mod_setenv" )
server.modules += ( "mod_proxy" , "mod_setenv", "mod_rewrite" )
$HTTP["url"] =~ "^/radicale/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => "5232" )) )
@ -381,6 +381,7 @@ $HTTP["url"] =~ "^/radicale/" {
"X-Script-Name" => "/radicale",
"Script-Name" => "/radicale",
)
url.rewrite-once = ( "^/radicale/radicale/(.*)" => "/radicale/$1" )
}
```