projects
/
via-proxy
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
054fe10
)
move bmj to https
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 12 Feb 2019 09:20:58 +0000
(10:20 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 12 Feb 2019 09:20:58 +0000
(10:20 +0100)
p.vbz.ffzg.hr.conf
patch
|
blob
|
history
diff --git
a/p.vbz.ffzg.hr.conf
b/p.vbz.ffzg.hr.conf
index
73b9b40
..
97d579a
100644
(file)
--- a/
p.vbz.ffzg.hr.conf
+++ b/
p.vbz.ffzg.hr.conf
@@
-713,7
+713,7
@@
FilterChain NEWPATHS2
ServerName journals.bmj.com.p.vbz.ffzg.hr
RequestHeader unset Accept-Encoding
ServerName journals.bmj.com.p.vbz.ffzg.hr
RequestHeader unset Accept-Encoding
- Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
+ Substitute "s|(http
s
:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
# Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
FilterDeclare NEWPATHS
FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
# Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
FilterDeclare NEWPATHS
FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
@@
-724,12
+724,12
@@
FilterChain NEWPATHS2
# fix all other plain http resources
RewriteEngine on
# fix all other plain http resources
RewriteEngine on
- RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
+ RewriteRule /_rewrite_/(.*)/_path_/(.*) http
s
://$1.bmj.com/$2 [P,L]
-
#
SSLProxyEngine on
+ SSLProxyEngine on
ProxyAddHeaders Off
ProxyAddHeaders Off
- ProxyPass / http://journals.bmj.com/
- ProxyPassReverse / http://journals.bmj.com/
+ ProxyPass / http
s
://journals.bmj.com/
+ ProxyPassReverse / http
s
://journals.bmj.com/
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"