X-Git-Url: http://git.rot13.org/?p=via-proxy;a=blobdiff_plain;f=p.vbz.ffzg.hr.conf;h=446d7423219737ba6e84979b259ac041b86c2ba1;hp=ffb40dc3320e1f0c750cff9fc96e6f633d886226;hb=bf9beead9180fd8014f905a0edf2b8531b121518;hpb=8b641e384c0134bf4d4ad5697ac9064f699737f1 diff --git a/p.vbz.ffzg.hr.conf b/p.vbz.ffzg.hr.conf index ffb40dc..446d742 100644 --- a/p.vbz.ffzg.hr.conf +++ b/p.vbz.ffzg.hr.conf @@ -537,7 +537,8 @@ FilterChain NEWPATHS2 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1" RequestHeader unset Accept-Encoding -Substitute "s|https?://www.palgrave.com/|https://www.palgrave.com.p.vbz.ffzg.hr/|n" +Substitute "s|https://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n" +Substitute "s|http://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n" Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n" Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n" FilterDeclare NEWPATHS2 @@ -580,6 +581,10 @@ FilterChain NEWPATHS2 ServerName link.springer.com.p.vbz.ffzg.hr + # download links to pdf have %2F instead of / in them + AllowEncodedSlashes On + # this might need nocanon in ProxyPass too! + SSLProxyEngine on ProxyAddHeaders Off ProxyPass / https://link.springer.com/