fix ieeexplore until they migratie to https on 9 April 2018.
[via-proxy] / p.vbz.ffzg.hr.conf
index f072fc9..36c9d71 100644 (file)
@@ -513,6 +513,18 @@ FilterChain NEWPATHS2
 
        ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
 
+       RequestHeader unset Accept-Encoding
+       Substitute "s|http://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|"
+       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
+
+       ProxyPass        /_static_/ http://staticieeexplore.ieee.org/
+       ProxyPassReverse /_static_/ http://staticieeexplore.ieee.org/
+
        # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
        #SSLProxyEngine on
        ProxyPass        / http://ieeexplore.ieee.org/