projects
/
via-proxy
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
289e941
)
fix nature absolute links and redirect (to http, then https, sigh)
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 23 Aug 2018 11:52:29 +0000
(13:52 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 23 Aug 2018 11:52:29 +0000
(13:52 +0200)
p.vbz.ffzg.hr.conf
patch
|
blob
|
history
diff --git
a/p.vbz.ffzg.hr.conf
b/p.vbz.ffzg.hr.conf
index
c484076
..
8755ea1
100644
(file)
--- a/
p.vbz.ffzg.hr.conf
+++ b/
p.vbz.ffzg.hr.conf
@@
-484,10
+484,10
@@
FilterChain NEWPATHS2
Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
- Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
+ Header edit* Location "https
?
://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
RequestHeader unset Accept-Encoding
RequestHeader unset Accept-Encoding
-Substitute "s|http://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
+Substitute "s|http
s
://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
FilterDeclare NEWPATHS2
FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
FilterDeclare NEWPATHS2
FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"