X-Git-Url: http://git.rot13.org/?p=via-proxy;a=blobdiff_plain;f=p.vbz.ffzg.hr.conf;h=1220e481a8f0afd81ef354dbc59ba2c4910bbac5;hp=6deb315d8e03c6817ae2cdde8ff06e3df4f02ebe;hb=1b957cac35917fc7f3254b3543bd0113ac4c1e0c;hpb=82bdf7d1fb267930c5b2fb83a9faa0b676942e38
diff --git a/p.vbz.ffzg.hr.conf b/p.vbz.ffzg.hr.conf
index 6deb315..1220e48 100644
--- a/p.vbz.ffzg.hr.conf
+++ b/p.vbz.ffzg.hr.conf
@@ -5,10 +5,45 @@
Include /srv/via-proxy/ssl.conf
ServerName muse.jhu.edu.p.vbz.ffzg.hr
SSLProxyEngine on
+ ProxyAddHeaders Off
+
ProxyPass / https://muse.jhu.edu/
ProxyPassReverse / https://muse.jhu.edu/
Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+ RequestHeader unset Accept-Encoding
+ Substitute "s|https://muse.jhu.edu/|https://muse.jhu.edu.p.vbz.ffzg.hr/|"
+ Substitute "s|https://about.muse.jhu.edu/|https://about.muse.jhu.edu.p.vbz.ffzg.hr/|"
+ FilterDeclare NEWPATHS
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+ FilterChain NEWPATHS
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+
+ Include /srv/via-proxy/ssl.conf
+ ServerName about.muse.jhu.edu.p.vbz.ffzg.hr
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+
+ ProxyPass / https://about.muse.jhu.edu/
+ ProxyPassReverse / https://about.muse.jhu.edu/
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+ RequestHeader unset Accept-Encoding
+ Substitute "s|https://muse.jhu.edu/|https://muse.jhu.edu.p.vbz.ffzg.hr/|"
+ Substitute "s|https://about.muse.jhu.edu/|https://about.muse.jhu.edu.p.vbz.ffzg.hr/|"
+ FilterDeclare NEWPATHS
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+ FilterChain NEWPATHS
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
@@ -143,6 +178,22 @@ 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* Location "https://anthrosource.onlinelibrary.wiley.com" "https://anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr"
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+
+ ProxyPass / https://anthrosource.onlinelibrary.wiley.com/
+ ProxyPassReverse / https://anthrosource.onlinelibrary.wiley.com/
+
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
@@ -181,6 +232,39 @@ FilterChain NEWPATHS2
RequestHeader unset Accept-Encoding
Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
+ Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
+ Substitute "s|http://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
+ FilterDeclare NEWPATHS
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+ FilterChain NEWPATHS
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName www.rsc.org.p.vbz.ffzg.hr
+
+ ProxyAddHeaders Off
+
+ ProxyPass /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
+ ProxyPassReverse /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
+
+ # FIXME -- this doesn't work behind https and include http resources
+ ProxyPass / http://www.rsc.org/
+ ProxyPassReverse / http://www.rsc.org/
+
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+ RequestHeader unset Accept-Encoding
+ Substitute "s|http://epi-rsc.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_epi-rsc_/|"
+# Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
+ Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
+ Substitute "s|http://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
FilterDeclare NEWPATHS
FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
@@ -292,6 +376,47 @@ 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* Location "http://emeraldgrouppublishing.com/" "https://emeraldgrouppublishing.com.p.vbz.ffzg.hr/"
+
+# they have hard-coded absolute links
+RequestHeader unset Accept-Encoding
+Substitute "s|https://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
+Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
+FilterDeclare NEWPATHS2
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+FilterChain NEWPATHS2
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName www.emeraldgrouppublishing.com.p.vbz.ffzg.hr
+ ServerAlias emeraldgrouppublishing.com.p.vbz.ffzg.hr
+
+ # FIXME target server for www.emeraldgrouppublishing.com doesn't have that in SSL cert
+ #SSLProxyEngine on
+ ProxyAddHeaders Off
+ ProxyPass / http://www.emeraldgrouppublishing.com/
+ ProxyPassReverse / http://www.emeraldgrouppublishing.com/
+
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+# they have hard-coded absolute links
+RequestHeader unset Accept-Encoding
+Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
+Substitute "s|http://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
+FilterDeclare NEWPATHS2
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+FilterChain NEWPATHS2
+
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
@@ -343,21 +468,31 @@ FilterChain NEWPATHS2
ServerName www.jstor.org.p.vbz.ffzg.hr
- #SSLProxyEngine on
- # download pdf doesn't work if we use https://www.jstor.org !
+ SSLProxyEngine on
ProxyAddHeaders Off
- ProxyPass / http://www.jstor.org/
- ProxyPassReverse / http://www.jstor.org/
+ ProxyPass / https://www.jstor.org/
+ ProxyPassReverse / https://www.jstor.org/
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:; *secure)" "$1"
-# Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
+ #Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
+ RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
- #Header add Access-Control-Allow-Origin ''
- #Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type"
+# Header set Access-Control-Allow-Origin "*"
+# Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"
+
+ # jstor expects
+ # X-Requested-With: XMLHttpRequest
+ # https://www.jstor.org/ui_log/info
+ # https://www.jstor.org/access_details/?_=1535108073005
+ # https://www.jstor.org/workspace-service/get-dois?_=1535108073006
+ # https://www.jstor.org/tc/check/10.2307/40323659?_=1535108073007
+ # https://www.jstor.org/tc/accept?origin=%2Ftc%2Fcheck%2F10.2307%2F40323659%3F_%3D1535108073007
+ # https://www.jstor.org/ui_log/counter
+ #
#Header always set Access-Control-Allow-Origin "*"
#Header always set Access-Control-Max-Age "1000"
@@ -368,16 +503,16 @@ FilterChain NEWPATHS2
# SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
# RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
- #ForensicLog /var/log/apache2/forensic.log
+ #ForensicLog /var/log/apache2/forensic-jstor.log
-#RequestHeader unset Accept-Encoding
-#Substitute "s|http://www.jsor.org/|http://www.jstor.org.p.vbz.ffzg.hr/|n"
-#FilterDeclare NEWPATHS2
-#FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+RequestHeader unset Accept-Encoding
+Substitute "s|//www.jstor.org/|//www.jstor.org.p.vbz.ffzg.hr/|n"
+FilterDeclare NEWPATHS2
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
#FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
-#FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
-#FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
-#FilterChain NEWPATHS2
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+FilterChain NEWPATHS2
@@ -394,10 +529,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* 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
-Substitute "s|http://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
+Substitute "s|https://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|"
@@ -430,11 +565,11 @@ FilterChain NEWPATHS2
ServerName www.palgrave.com.p.vbz.ffzg.hr
-DumpIOInput On
-DumpIOOutput On
+#DumpIOInput On
+#DumpIOOutput On
#DumpIOLogLevel debug
-LogLevel debug
+#LogLevel debug
ProxyAddHeaders Off
@@ -446,14 +581,55 @@ LogLevel debug
Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
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|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
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+FilterChain NEWPATHS2
+
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName www.springer.com.p.vbz.ffzg.hr
+
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+ ProxyPass / https://www.springer.com/
+ ProxyPassReverse / https://www.springer.com/
+
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+RequestHeader unset Accept-Encoding
+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
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+FilterChain NEWPATHS2
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
Include /srv/via-proxy/ssl.conf
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/
@@ -462,6 +638,16 @@ LogLevel debug
Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+RequestHeader unset Accept-Encoding
+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
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+FilterChain NEWPATHS2
+
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
@@ -511,6 +697,15 @@ LogLevel debug
Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+ RequestHeader unset Accept-Encoding
+ Substitute "s|https://www.scopus.com|https://www.scopus.com.p.vbz.ffzg.hr|"
+ FilterDeclare NEWPATHS
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+ FilterChain NEWPATHS
+
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
@@ -589,6 +784,116 @@ LogLevel debug
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
+
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+ ProxyPass / https://jcr.incites.thomsonreuters.com/
+ ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
+
+ 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://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
+
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
+
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+ ProxyPass / https://login.incites.thomsonreuters.com/
+ ProxyPassReverse / https://login.incites.thomsonreuters.com/
+
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+ # they really return http Location header even if everything else was
+ # behind https up to that point, AND https works
+ Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName search.alexanderstreet.com.p.vbz.ffzg.hr
+
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+ ProxyPass / https://search.alexanderstreet.com/
+ ProxyPassReverse / https://search.alexanderstreet.com/
+
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName pubs.asha.org.p.vbz.ffzg.hr
+
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+ ProxyPass / https://pubs.asha.org/
+ ProxyPassReverse / https://pubs.asha.org/
+
+ 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://leader.pubs.asha.org/" "https://leader.pubs.asha.org.p.vbz.ffzg.hr/"
+
+ RequestHeader unset Accept-Encoding
+ Substitute "s|https://pubs.asha.org|https://pubs.asha.org.p.vbz.ffzg.hr|"
+ Substitute "s|https://leader.pubs.asha.org|https://leader.pubs.asha.org.p.vbz.ffzg.hr|"
+ FilterDeclare NEWPATHS
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+ FilterChain NEWPATHS
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+ Include /srv/via-proxy/ssl.conf
+
+ ServerName leader.pubs.asha.org.p.vbz.ffzg.hr
+
+ SSLProxyEngine on
+ ProxyAddHeaders Off
+ ProxyPass / https://leader.pubs.asha.org/
+ ProxyPassReverse / https://leader.pubs.asha.org/
+
+ Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
+ Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
+
+ RequestHeader unset Accept-Encoding
+ Substitute "s|https://pubs.asha.org|https://pubs.asha.org.p.vbz.ffzg.hr|"
+ Substitute "s|https://leader.pubs.asha.org|https://leader.pubs.asha.org.p.vbz.ffzg.hr|"
+ FilterDeclare NEWPATHS
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
+ FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
+ FilterChain NEWPATHS
+
+ CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+
+
+
+
+
NameVirtualHost *:443
@@ -602,6 +907,17 @@ NameVirtualHost *:443
ServerAlias *.p.vbz.ffzg.hr
CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
+ ProxyAddHeaders Off
+
+ #ForensicLog /var/log/apache2/forensic-p.vbz.ffzg.hr.log
+
+ ProxyPass /mjesec/ http://mjesec.ffzg.hr/
+ ProxyPassReverse /mjesec/ http://mjesec.ffzg.hr/
+
+ RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
+
+ ProxyPass /via/ http://via.rot13.org/
+ ProxyPassReverse /via/ http://via.rot13.org/