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:
parent
d3b78e0246
commit
8e8c652225
1 changed files with 2 additions and 1 deletions
|
@ -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" )
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue