2 # wget --server-response -O /dev/null http://www.nature.com.p.vbz.ffzg.hr/
5 Include /srv/via-proxy/ssl.conf
6 ServerName muse.jhu.edu.p.vbz.ffzg.hr
10 ProxyPass / https://muse.jhu.edu/
11 ProxyPassReverse / https://muse.jhu.edu/
12 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
13 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
15 RequestHeader unset Accept-Encoding
16 Substitute "s|https://muse.jhu.edu/|https://muse.jhu.edu.p.vbz.ffzg.hr/|"
17 Substitute "s|https://about.muse.jhu.edu/|https://about.muse.jhu.edu.p.vbz.ffzg.hr/|"
18 FilterDeclare NEWPATHS
19 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
20 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
21 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
22 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
24 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
25 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
26 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
30 Include /srv/via-proxy/ssl.conf
31 ServerName about.muse.jhu.edu.p.vbz.ffzg.hr
35 ProxyPass / https://about.muse.jhu.edu/
36 ProxyPassReverse / https://about.muse.jhu.edu/
37 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
38 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
40 RequestHeader unset Accept-Encoding
41 Substitute "s|https://muse.jhu.edu/|https://muse.jhu.edu.p.vbz.ffzg.hr/|"
42 Substitute "s|https://about.muse.jhu.edu/|https://about.muse.jhu.edu.p.vbz.ffzg.hr/|"
43 FilterDeclare NEWPATHS
44 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
45 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
46 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
47 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
49 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
50 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
51 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
54 # a2enmod proxy_http proxy_html xml2enc headers
56 # https://www.oclc.org/support/services/ezproxy/documentation/db/cambridgecore.en.html
59 Include /srv/via-proxy/ssl.conf
61 ServerName www.cambridge.org.p.vbz.ffzg.hr
64 ProxyPass / https://www.cambridge.org/
65 ProxyPassReverse / https://www.cambridge.org/
66 #ProxyPassReverseCookieDomain www.cambridge.org www.cambridge.org.p.vbz.ffzg.hr
67 #ProxyPassReverseCookieDomain cambridge.org cambridge.org.p.vbz.ffzg.hr
68 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
69 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
71 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
73 #ProxyHTMLLogVerbose On
76 #SetOutputFilter INFLATE;DEFLATE
77 RequestHeader unset Accept-Encoding
82 # ProxyHTMLExtended On
83 # ProxyHTMLURLMap http://www.cambridge.org /
86 Substitute "s|http://www.cambridge.org/|/|n"
87 Substitute "s|https://www.cambridge.org/|/|n"
88 FilterDeclare NEWPATHS
89 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
90 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
91 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
92 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
95 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
96 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
100 Include /srv/via-proxy/ssl.conf
102 ServerName search.proquest.com.p.vbz.ffzg.hr
105 ProxyPass / https://search.proquest.com/
106 ProxyPassReverse / https://search.proquest.com/
108 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
109 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
111 RequestHeader unset Accept-Encoding
112 Substitute "s|https://search.proquest.com/|/|n"
113 FilterDeclare NEWPATHS2
114 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
115 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
116 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
117 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
118 FilterChain NEWPATHS2
120 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
121 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
122 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
126 Include /srv/via-proxy/ssl.conf
128 ServerName academic.oup.com.p.vbz.ffzg.hr
131 ProxyPass / https://academic.oup.com/
132 ProxyPassReverse / https://academic.oup.com/
134 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
135 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
137 RequestHeader unset Accept-Encoding
139 Substitute "s|https://academic.oup.com/|/|n"
140 FilterDeclare NEWPATHS2
141 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
142 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
143 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
144 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
145 FilterChain NEWPATHS2
147 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
148 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
149 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
152 # https://www.oclc.org/support/services/ezproxy/documentation/db/ovid.en.html
154 Include /srv/via-proxy/ssl.conf
156 ServerName ovidsp.tx.ovid.com.p.vbz.ffzg.hr
159 ProxyPass / https://ovidsp.tx.ovid.com/
160 ProxyPassReverse / https://ovidsp.tx.ovid.com/
162 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
163 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
165 RequestHeader unset Accept-Encoding
167 Substitute "s|https://ovidsp.tx.ovid.com/|/|n"
168 FilterDeclare NEWPATHS2
169 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
170 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
171 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
172 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
173 FilterChain NEWPATHS2
175 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
176 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
177 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
182 Include /srv/via-proxy/ssl.conf
184 ServerName pubs.rsc.org.p.vbz.ffzg.hr
188 ProxyPass /_rsc-cdn_/ https://www.rsc-cdn.org/
189 ProxyPassReverse /_rsc-cdn_/ https://www.rsc-cdn.org/
191 ProxyPass / https://pubs.rsc.org/
192 ProxyPassReverse / https://pubs.rsc.org/
194 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
195 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
197 RequestHeader unset Accept-Encoding
198 Substitute "s|https://[a-z-]*.rsc-cdn.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
199 Substitute "s|https://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
200 Substitute "s|https://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
201 FilterDeclare NEWPATHS
202 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
203 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
204 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
205 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
208 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
209 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
210 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
213 Include /srv/via-proxy/ssl.conf
215 ServerName www.rsc.org.p.vbz.ffzg.hr
219 ProxyPass /_epi-rsc_/ https://epi-rsc.rsc-cdn.org/
220 ProxyPassReverse /_epi-rsc_/ https://epi-rsc.rsc-cdn.org/
222 ProxyPass / https://www.rsc.org/
223 ProxyPassReverse / https://www.rsc.org/
225 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
226 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
228 RequestHeader unset Accept-Encoding
229 Substitute "s|https://epi-rsc.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_epi-rsc_/|"
230 # Substitute "s|https://[a-z-]*.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
231 Substitute "s|https://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
232 Substitute "s|https://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
233 FilterDeclare NEWPATHS
234 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
235 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
236 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
237 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
240 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
241 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
242 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
247 Include /srv/via-proxy/ssl.conf
249 ServerName www.brepolis.net.p.vbz.ffzg.hr
253 ProxyPass / http://www.brepolis.net/
254 ProxyPassReverse / http://www.brepolis.net/
256 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
257 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
259 RequestHeader unset Accept-Encoding
261 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
262 FilterDeclare NEWPATHS2
263 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
264 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
265 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
266 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
267 FilterChain NEWPATHS2
269 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
270 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
271 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
274 Include /srv/via-proxy/ssl.conf
276 ServerName apps.brepolis.net.p.vbz.ffzg.hr
280 ProxyPass / http://apps.brepolis.net/
281 ProxyPassReverse / http://apps.brepolis.net/
283 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
284 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
286 RequestHeader unset Accept-Encoding
288 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
289 FilterDeclare NEWPATHS2
290 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
291 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
292 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
293 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
294 FilterChain NEWPATHS2
295 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
296 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
297 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
302 Include /srv/via-proxy/ssl.conf
304 ServerName www.cairn.info.p.vbz.ffzg.hr
309 ProxyPass / https://www.cairn.info/
310 ProxyPassReverse / https://www.cairn.info/
312 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
313 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
315 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
316 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
317 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
322 Include /srv/via-proxy/ssl.conf
324 ServerName www.degruyter.com.p.vbz.ffzg.hr
329 ProxyPass / https://www.degruyter.com/
330 ProxyPassReverse / https://www.degruyter.com/
332 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
333 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
335 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
336 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
337 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
342 Include /srv/via-proxy/ssl.conf
344 ServerName www.emeraldinsight.com.p.vbz.ffzg.hr
348 ProxyPass / https://www.emeraldinsight.com/
349 ProxyPassReverse / https://www.emeraldinsight.com/
351 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
352 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
354 Header edit* Location "http://emeraldgrouppublishing.com/" "https://emeraldgrouppublishing.com.p.vbz.ffzg.hr/"
356 # they have hard-coded absolute links
357 RequestHeader unset Accept-Encoding
358 Substitute "s|https://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
359 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
360 FilterDeclare NEWPATHS2
361 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
362 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
363 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
364 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
365 FilterChain NEWPATHS2
367 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
368 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
369 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
372 Include /srv/via-proxy/ssl.conf
374 ServerName www.emeraldgrouppublishing.com.p.vbz.ffzg.hr
375 ServerAlias emeraldgrouppublishing.com.p.vbz.ffzg.hr
377 # FIXME target server for www.emeraldgrouppublishing.com doesn't have that in SSL cert
380 ProxyPass / http://www.emeraldgrouppublishing.com/
381 ProxyPassReverse / http://www.emeraldgrouppublishing.com/
383 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
384 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
386 # they have hard-coded absolute links
387 RequestHeader unset Accept-Encoding
388 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
389 Substitute "s|http://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
390 FilterDeclare NEWPATHS2
391 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
392 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
393 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
394 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
395 FilterChain NEWPATHS2
397 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
398 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
399 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
403 Include /srv/via-proxy/ssl.conf
405 ServerName www.webofknowledge.com.p.vbz.ffzg.hr
409 ProxyPass / https://www.webofknowledge.com/
410 ProxyPassReverse / https://www.webofknowledge.com/
412 Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
414 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
415 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
417 RequestHeader unset Accept-Encoding
418 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
419 FilterDeclare NEWPATHS2
420 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
421 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
422 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
423 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
424 FilterChain NEWPATHS2
425 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
426 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
427 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
431 Include /srv/via-proxy/ssl.conf
433 ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
437 ProxyPass / https://apps.webofknowledge.com/
438 ProxyPassReverse / https://apps.webofknowledge.com/
440 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
441 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
443 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
444 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
445 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
450 Include /srv/via-proxy/ssl.conf
452 ServerName www.jstor.org.p.vbz.ffzg.hr
456 ProxyPass / https://www.jstor.org/
457 ProxyPassReverse / https://www.jstor.org/
459 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
460 # Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
462 #Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
463 RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
465 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
467 # Header set Access-Control-Allow-Origin "*"
468 # Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"
471 # X-Requested-With: XMLHttpRequest
472 # https://www.jstor.org/ui_log/info
473 # https://www.jstor.org/access_details/?_=1535108073005
474 # https://www.jstor.org/workspace-service/get-dois?_=1535108073006
475 # https://www.jstor.org/tc/check/10.2307/40323659?_=1535108073007
476 # https://www.jstor.org/tc/accept?origin=%2Ftc%2Fcheck%2F10.2307%2F40323659%3F_%3D1535108073007
477 # https://www.jstor.org/ui_log/counter
480 #Header always set Access-Control-Allow-Origin "*"
481 #Header always set Access-Control-Max-Age "1000"
482 #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
485 # OCLC has special case for this header
486 # SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
487 # RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
489 #ForensicLog /var/log/apache2/forensic-jstor.log
491 RequestHeader unset Accept-Encoding
492 Substitute "s|//www.jstor.org/|//www.jstor.org.p.vbz.ffzg.hr/|n"
493 FilterDeclare NEWPATHS2
494 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
495 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
496 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
497 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
498 FilterChain NEWPATHS2
500 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
501 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
505 Include /srv/via-proxy/ssl.conf
507 ServerName www.nature.com.p.vbz.ffzg.hr
511 ProxyPass / https://www.nature.com/
512 ProxyPassReverse / https://www.nature.com/
514 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
515 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
517 Header edit* Location "https?://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
519 RequestHeader unset Accept-Encoding
520 Substitute "s|https://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
521 FilterDeclare NEWPATHS2
522 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
523 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
524 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
525 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
526 FilterChain NEWPATHS2
528 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
529 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
530 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
533 Include /srv/via-proxy/ssl.conf
535 ServerName idp.nature.com.p.vbz.ffzg.hr
539 ProxyPass / https://idp.nature.com/
540 ProxyPassReverse / https://idp.nature.com/
542 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
543 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
544 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
546 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
547 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
548 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
553 Include /srv/via-proxy/ssl.conf
555 ServerName www.palgrave.com.p.vbz.ffzg.hr
559 #DumpIOLogLevel debug
567 ProxyPass / https://www.palgrave.com/
568 ProxyPassReverse / https://www.palgrave.com/
570 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
571 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
573 RequestHeader unset Accept-Encoding
574 Substitute "s|https://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
575 Substitute "s|http://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
576 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
577 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
578 FilterDeclare NEWPATHS2
579 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
580 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
581 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
582 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
583 FilterChain NEWPATHS2
585 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
586 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
587 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
591 Include /srv/via-proxy/ssl.conf
593 ServerName www.springer.com.p.vbz.ffzg.hr
597 ProxyPass / https://www.springer.com/
598 ProxyPassReverse / https://www.springer.com/
600 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
601 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
603 RequestHeader unset Accept-Encoding
604 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
605 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
606 FilterDeclare NEWPATHS2
607 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
608 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
609 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
610 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
611 FilterChain NEWPATHS2
613 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
614 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
615 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
618 Include /srv/via-proxy/ssl.conf
620 ServerName link.springer.com.p.vbz.ffzg.hr
622 # download links to pdf have %2F instead of / in them
623 AllowEncodedSlashes On
624 # this might need nocanon in ProxyPass too!
628 ProxyPass / https://link.springer.com/
629 ProxyPassReverse / https://link.springer.com/
631 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
632 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
634 RequestHeader unset Accept-Encoding
635 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
636 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
637 FilterDeclare NEWPATHS2
638 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
639 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
640 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
641 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
642 FilterChain NEWPATHS2
644 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
645 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
646 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
650 Include /srv/via-proxy/ssl.conf
652 ServerName www.tandfonline.com.p.vbz.ffzg.hr
656 ProxyPass / https://www.tandfonline.com/
657 ProxyPassReverse / https://www.tandfonline.com/
659 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
660 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
662 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
663 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
664 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
668 Include /srv/via-proxy/ssl.conf
670 ServerName www.sciencedirect.com.p.vbz.ffzg.hr
674 ProxyPass / https://www.sciencedirect.com/
675 ProxyPassReverse / https://www.sciencedirect.com/
677 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
678 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
681 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
682 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
683 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
687 Include /srv/via-proxy/ssl.conf
689 ServerName journals.bmj.com.p.vbz.ffzg.hr
691 RequestHeader unset Accept-Encoding
692 Substitute "s|(https:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
693 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
694 FilterDeclare NEWPATHS
695 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
696 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
697 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
698 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
701 # fix all other plain http resources
703 RewriteRule /_rewrite_/(.*)/_path_/(.*) https://$1.bmj.com/$2 [P,L]
707 ProxyPass / https://journals.bmj.com/
708 ProxyPassReverse / https://journals.bmj.com/
710 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
711 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
713 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
714 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
715 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
719 Include /srv/via-proxy/ssl.conf
721 ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
723 RequestHeader unset Accept-Encoding
724 Substitute "s|https://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
725 FilterDeclare NEWPATHS
726 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
727 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
728 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
729 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
733 ProxyPass /_static_/ https://staticieeexplore.ieee.org/
734 ProxyPassReverse /_static_/ https://staticieeexplore.ieee.org/
736 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
738 ProxyPass / https://ieeexplore.ieee.org/
739 ProxyPassReverse / https://ieeexplore.ieee.org/
741 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
742 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
744 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
745 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
746 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
751 Include /srv/via-proxy/ssl.conf
753 ServerName search.alexanderstreet.com.p.vbz.ffzg.hr
757 ProxyPass / https://search.alexanderstreet.com/
758 ProxyPassReverse / https://search.alexanderstreet.com/
760 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
761 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
763 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
764 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
765 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
769 Include /srv/via-proxy/ssl.conf
771 ServerName pubs.asha.org.p.vbz.ffzg.hr
775 ProxyPass / https://pubs.asha.org/
776 ProxyPassReverse / https://pubs.asha.org/
778 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
779 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
781 Header edit* Location "https://leader.pubs.asha.org/" "https://leader.pubs.asha.org.p.vbz.ffzg.hr/"
783 RequestHeader unset Accept-Encoding
784 Substitute "s|https://pubs.asha.org|https://pubs.asha.org.p.vbz.ffzg.hr|"
785 Substitute "s|https://leader.pubs.asha.org|https://leader.pubs.asha.org.p.vbz.ffzg.hr|"
786 FilterDeclare NEWPATHS
787 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
788 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
789 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
790 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
793 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
794 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
795 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
798 Include /srv/via-proxy/ssl.conf
800 ServerName leader.pubs.asha.org.p.vbz.ffzg.hr
804 ProxyPass / https://leader.pubs.asha.org/
805 ProxyPassReverse / https://leader.pubs.asha.org/
807 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
808 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
810 RequestHeader unset Accept-Encoding
811 Substitute "s|https://pubs.asha.org|https://pubs.asha.org.p.vbz.ffzg.hr|"
812 Substitute "s|https://leader.pubs.asha.org|https://leader.pubs.asha.org.p.vbz.ffzg.hr|"
813 FilterDeclare NEWPATHS
814 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
815 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
816 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
817 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
820 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
821 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
822 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
825 IncludeOptional /srv/via-proxy/providers/*.conf
829 NameVirtualHost *:443
832 Include /srv/via-proxy/ssl.conf
834 DocumentRoot /srv/via-proxy
835 <Directory /srv/via-proxy/>
838 ServerName p.vbz.ffzg.hr
839 ServerAlias *.p.vbz.ffzg.hr
840 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
844 #ForensicLog /var/log/apache2/forensic-p.vbz.ffzg.hr.log
846 ProxyPass /mjesec/ http://mjesec.ffzg.hr/
847 ProxyPassReverse /mjesec/ http://mjesec.ffzg.hr/
849 RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
851 ProxyPass /via/ http://via.rot13.org/
852 ProxyPassReverse /via/ http://via.rot13.org/
853 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
854 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
858 DocumentRoot /srv/via-proxy
859 <Directory /srv/via-proxy/>
862 ServerName p.vbz.ffzg.hr
863 ServerAlias *.p.vbz.ffzg.hr
864 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
866 Redirect / https://p.vbz.ffzg.hr