added https://pubs.asha.org
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 11 Feb 2019 11:46:48 +0000 (12:46 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 11 Feb 2019 12:02:18 +0000 (13:02 +0100)
index.html
p.vbz.ffzg.hr.conf

index e2c7fe9..bc7d0df 100644 (file)
@@ -29,6 +29,7 @@
 <li><a href="https://jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr/">InCites Journal Citation Reports</a>
 
        <li><a href="https://search.alexanderstreet.com.p.vbz.ffzg.hr/">alexanderstreet.com</a>
+       <li><a href="https://pubs.asha.org.p.vbz.ffzg.hr/">ASHAwire</a>
 
 </ul>
 
index ae34ddd..1220e48 100644 (file)
@@ -838,6 +838,58 @@ FilterChain NEWPATHS2
        CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
 </VirtualHost>
 
+<VirtualHost *:443>
+       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
+</VirtualHost>
+<VirtualHost *:443>
+       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
+</VirtualHost>