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
8 ProxyPass / https://muse.jhu.edu/
9 ProxyPassReverse / https://muse.jhu.edu/
10 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
11 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
12 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
15 # a2enmod proxy_http proxy_html xml2enc headers
17 # https://www.oclc.org/support/services/ezproxy/documentation/db/cambridgecore.en.html
20 Include /srv/via-proxy/ssl.conf
22 ServerName www.cambridge.org.p.vbz.ffzg.hr
25 ProxyPass / https://www.cambridge.org/
26 ProxyPassReverse / https://www.cambridge.org/
27 #ProxyPassReverseCookieDomain www.cambridge.org www.cambridge.org.p.vbz.ffzg.hr
28 #ProxyPassReverseCookieDomain cambridge.org cambridge.org.p.vbz.ffzg.hr
29 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
30 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
32 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
34 #ProxyHTMLLogVerbose On
37 #SetOutputFilter INFLATE;DEFLATE
38 RequestHeader unset Accept-Encoding
43 # ProxyHTMLExtended On
44 # ProxyHTMLURLMap http://www.cambridge.org /
47 Substitute "s|http://www.cambridge.org/|/|n"
48 Substitute "s|https://www.cambridge.org/|/|n"
49 FilterDeclare NEWPATHS
50 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
51 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
52 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
53 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
59 Include /srv/via-proxy/ssl.conf
61 ServerName search.proquest.com.p.vbz.ffzg.hr
64 ProxyPass / https://search.proquest.com/
65 ProxyPassReverse / https://search.proquest.com/
67 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
68 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
70 RequestHeader unset Accept-Encoding
71 Substitute "s|https://search.proquest.com/|/|n"
72 FilterDeclare NEWPATHS2
73 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
74 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
75 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
76 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
79 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
83 Include /srv/via-proxy/ssl.conf
85 ServerName academic.oup.com.p.vbz.ffzg.hr
88 ProxyPass / https://academic.oup.com/
89 ProxyPassReverse / https://academic.oup.com/
91 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
92 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
94 RequestHeader unset Accept-Encoding
96 Substitute "s|https://academic.oup.com/|/|n"
97 FilterDeclare NEWPATHS2
98 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
99 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
100 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
101 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
102 FilterChain NEWPATHS2
104 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
107 # https://www.oclc.org/support/services/ezproxy/documentation/db/ovid.en.html
109 Include /srv/via-proxy/ssl.conf
111 ServerName ovidsp.tx.ovid.com.p.vbz.ffzg.hr
114 ProxyPass / https://ovidsp.tx.ovid.com/
115 ProxyPassReverse / https://ovidsp.tx.ovid.com/
117 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
118 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
120 RequestHeader unset Accept-Encoding
122 Substitute "s|https://ovidsp.tx.ovid.com/|/|n"
123 FilterDeclare NEWPATHS2
124 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
125 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
126 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
127 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
128 FilterChain NEWPATHS2
130 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
134 Include /srv/via-proxy/ssl.conf
136 ServerName onlinelibrary.wiley.com.p.vbz.ffzg.hr
140 ProxyPass / https://onlinelibrary.wiley.com/
141 ProxyPassReverse / https://onlinelibrary.wiley.com/
143 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
144 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
146 Header edit* Location "https://anthrosource.onlinelibrary.wiley.com" "https://anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr"
147 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
150 Include /srv/via-proxy/ssl.conf
152 ServerName anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr
156 ProxyPass / https://anthrosource.onlinelibrary.wiley.com/
157 ProxyPassReverse / https://anthrosource.onlinelibrary.wiley.com/
159 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
160 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
162 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
166 Include /srv/via-proxy/ssl.conf
168 ServerName journals.sagepub.com.p.vbz.ffzg.hr
172 ProxyPass / http://journals.sagepub.com/
173 ProxyPassReverse / http://journals.sagepub.com/
175 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
176 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
178 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
182 Include /srv/via-proxy/ssl.conf
184 ServerName pubs.rsc.org.p.vbz.ffzg.hr
188 ProxyPass /_rsc-cdn_/ http://www.rsc-cdn.org/
189 ProxyPassReverse /_rsc-cdn_/ http://www.rsc-cdn.org/
191 # FIXME -- this doesn't work behind https and include http resources
192 ProxyPass / http://pubs.rsc.org/
193 ProxyPassReverse / http://pubs.rsc.org/
195 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
196 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
198 RequestHeader unset Accept-Encoding
199 Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
200 Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
201 Substitute "s|http://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
202 FilterDeclare NEWPATHS
203 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
204 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
205 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
206 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
209 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
212 Include /srv/via-proxy/ssl.conf
214 ServerName www.rsc.org.p.vbz.ffzg.hr
218 ProxyPass /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
219 ProxyPassReverse /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
221 # FIXME -- this doesn't work behind https and include http resources
222 ProxyPass / http://www.rsc.org/
223 ProxyPassReverse / http://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|http://epi-rsc.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_epi-rsc_/|"
230 # Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
231 Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
232 Substitute "s|http://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
245 Include /srv/via-proxy/ssl.conf
247 ServerName www.brepolis.net.p.vbz.ffzg.hr
251 ProxyPass / http://www.brepolis.net/
252 ProxyPassReverse / http://www.brepolis.net/
254 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
255 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
257 RequestHeader unset Accept-Encoding
259 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
260 FilterDeclare NEWPATHS2
261 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
262 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
263 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
264 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
265 FilterChain NEWPATHS2
267 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
270 Include /srv/via-proxy/ssl.conf
272 ServerName apps.brepolis.net.p.vbz.ffzg.hr
276 ProxyPass / http://apps.brepolis.net/
277 ProxyPassReverse / http://apps.brepolis.net/
279 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
280 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
282 RequestHeader unset Accept-Encoding
284 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
285 FilterDeclare NEWPATHS2
286 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
287 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
288 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
289 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
290 FilterChain NEWPATHS2
291 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
296 Include /srv/via-proxy/ssl.conf
298 ServerName www.cairn.info.p.vbz.ffzg.hr
303 ProxyPass / https://www.cairn.info/
304 ProxyPassReverse / https://www.cairn.info/
306 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
307 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
309 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
314 Include /srv/via-proxy/ssl.conf
316 ServerName www.degruyter.com.p.vbz.ffzg.hr
321 ProxyPass / https://www.degruyter.com/
322 ProxyPassReverse / https://www.degruyter.com/
324 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
325 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
327 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
332 Include /srv/via-proxy/ssl.conf
334 ServerName www.emeraldinsight.com.p.vbz.ffzg.hr
338 ProxyPass / https://www.emeraldinsight.com/
339 ProxyPassReverse / https://www.emeraldinsight.com/
341 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
342 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
344 Header edit* Location "http://emeraldgrouppublishing.com/" "https://emeraldgrouppublishing.com.p.vbz.ffzg.hr/"
346 # they have hard-coded absolute links
347 RequestHeader unset Accept-Encoding
348 Substitute "s|https://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
349 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
350 FilterDeclare NEWPATHS2
351 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
352 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
353 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
354 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
355 FilterChain NEWPATHS2
357 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
360 Include /srv/via-proxy/ssl.conf
362 ServerName www.emeraldgrouppublishing.com.p.vbz.ffzg.hr
363 ServerAlias emeraldgrouppublishing.com.p.vbz.ffzg.hr
365 # FIXME target server for www.emeraldgrouppublishing.com doesn't have that in SSL cert
368 ProxyPass / http://www.emeraldgrouppublishing.com/
369 ProxyPassReverse / http://www.emeraldgrouppublishing.com/
371 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
372 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
374 # they have hard-coded absolute links
375 RequestHeader unset Accept-Encoding
376 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
377 Substitute "s|http://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
378 FilterDeclare NEWPATHS2
379 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
380 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
381 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
382 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
383 FilterChain NEWPATHS2
385 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
389 Include /srv/via-proxy/ssl.conf
391 ServerName www.webofknowledge.com.p.vbz.ffzg.hr
395 ProxyPass / https://www.webofknowledge.com/
396 ProxyPassReverse / https://www.webofknowledge.com/
398 Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
400 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
401 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
403 RequestHeader unset Accept-Encoding
404 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
405 FilterDeclare NEWPATHS2
406 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
407 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
408 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
409 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
410 FilterChain NEWPATHS2
411 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
415 Include /srv/via-proxy/ssl.conf
417 ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
421 ProxyPass / https://apps.webofknowledge.com/
422 ProxyPassReverse / https://apps.webofknowledge.com/
424 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
425 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
427 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
432 Include /srv/via-proxy/ssl.conf
434 ServerName www.jstor.org.p.vbz.ffzg.hr
437 # download pdf doesn't work if we use https://www.jstor.org !
439 ProxyPass / http://www.jstor.org/
440 ProxyPassReverse / http://www.jstor.org/
442 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
443 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
445 # Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
447 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
449 #Header add Access-Control-Allow-Origin ''
450 #Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type"
452 #Header always set Access-Control-Allow-Origin "*"
453 #Header always set Access-Control-Max-Age "1000"
454 #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
457 # OCLC has special case for this header
458 # SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
459 # RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
461 #ForensicLog /var/log/apache2/forensic.log
463 #RequestHeader unset Accept-Encoding
464 #Substitute "s|http://www.jsor.org/|http://www.jstor.org.p.vbz.ffzg.hr/|n"
465 #FilterDeclare NEWPATHS2
466 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
467 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
468 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
469 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
470 #FilterChain NEWPATHS2
475 Include /srv/via-proxy/ssl.conf
477 ServerName www.nature.com.p.vbz.ffzg.hr
481 ProxyPass / https://www.nature.com/
482 ProxyPassReverse / https://www.nature.com/
484 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
485 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
487 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
489 RequestHeader unset Accept-Encoding
490 Substitute "s|http://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
491 FilterDeclare NEWPATHS2
492 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
493 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
494 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
495 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
496 FilterChain NEWPATHS2
498 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
501 Include /srv/via-proxy/ssl.conf
503 ServerName idp.nature.com.p.vbz.ffzg.hr
507 ProxyPass / https://idp.nature.com/
508 ProxyPassReverse / https://idp.nature.com/
510 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
511 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
512 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
514 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
519 Include /srv/via-proxy/ssl.conf
521 ServerName www.palgrave.com.p.vbz.ffzg.hr
525 #DumpIOLogLevel debug
533 ProxyPass / https://www.palgrave.com/
534 ProxyPassReverse / https://www.palgrave.com/
536 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
537 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
539 RequestHeader unset Accept-Encoding
540 Substitute "s|https://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
541 Substitute "s|http://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
542 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
543 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
544 FilterDeclare NEWPATHS2
545 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
546 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
547 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
548 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
549 FilterChain NEWPATHS2
551 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
555 Include /srv/via-proxy/ssl.conf
557 ServerName www.springer.com.p.vbz.ffzg.hr
561 ProxyPass / https://www.springer.com/
562 ProxyPassReverse / https://www.springer.com/
564 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
565 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
567 RequestHeader unset Accept-Encoding
568 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
569 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
570 FilterDeclare NEWPATHS2
571 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
572 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
573 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
574 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
575 FilterChain NEWPATHS2
577 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
580 Include /srv/via-proxy/ssl.conf
582 ServerName link.springer.com.p.vbz.ffzg.hr
584 # download links to pdf have %2F instead of / in them
585 AllowEncodedSlashes On
586 # this might need nocanon in ProxyPass too!
590 ProxyPass / https://link.springer.com/
591 ProxyPassReverse / https://link.springer.com/
593 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
594 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
596 RequestHeader unset Accept-Encoding
597 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
598 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
599 FilterDeclare NEWPATHS2
600 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
601 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
602 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
603 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
604 FilterChain NEWPATHS2
606 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
610 Include /srv/via-proxy/ssl.conf
612 ServerName www.tandfonline.com.p.vbz.ffzg.hr
616 ProxyPass / https://www.tandfonline.com/
617 ProxyPassReverse / https://www.tandfonline.com/
619 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
620 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
622 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
626 Include /srv/via-proxy/ssl.conf
628 ServerName www.sciencedirect.com.p.vbz.ffzg.hr
632 ProxyPass / https://www.sciencedirect.com/
633 ProxyPassReverse / https://www.sciencedirect.com/
635 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
636 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
639 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
643 Include /srv/via-proxy/ssl.conf
645 ServerName www.scopus.com.p.vbz.ffzg.hr
649 ProxyPass / https://www.scopus.com/
650 ProxyPassReverse / https://www.scopus.com/
652 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
653 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
655 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
659 Include /srv/via-proxy/ssl.conf
661 ServerName journals.bmj.com.p.vbz.ffzg.hr
663 RequestHeader unset Accept-Encoding
664 Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
665 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
666 FilterDeclare NEWPATHS
667 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
668 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
669 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
670 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
673 # fix all other plain http resources
675 RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
679 ProxyPass / http://journals.bmj.com/
680 ProxyPassReverse / http://journals.bmj.com/
682 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
683 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
685 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
689 Include /srv/via-proxy/ssl.conf
691 ServerName journals.bmj.com.p.vbz.ffzg.hr
695 ProxyPass / http://journals.bmj.com/
696 ProxyPassReverse / http://journals.bmj.com/
698 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
699 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
701 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
705 Include /srv/via-proxy/ssl.conf
707 ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
709 RequestHeader unset Accept-Encoding
710 Substitute "s|http://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
711 FilterDeclare NEWPATHS
712 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
713 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
714 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
715 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
719 ProxyPass /_static_/ http://staticieeexplore.ieee.org/
720 ProxyPassReverse /_static_/ http://staticieeexplore.ieee.org/
722 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
724 ProxyPass / http://ieeexplore.ieee.org/
725 ProxyPassReverse / http://ieeexplore.ieee.org/
727 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
728 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
730 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
734 Include /srv/via-proxy/ssl.conf
736 ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
740 ProxyPass / https://jcr.incites.thomsonreuters.com/
741 ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
743 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
744 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
746 Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
749 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
752 Include /srv/via-proxy/ssl.conf
754 ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
758 ProxyPass / https://login.incites.thomsonreuters.com/
759 ProxyPassReverse / https://login.incites.thomsonreuters.com/
761 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
762 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
764 # they really return http Location header even if everything else was
765 # behind https up to that point, AND https works
766 Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
768 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
775 NameVirtualHost *:443
778 Include /srv/via-proxy/ssl.conf
780 DocumentRoot /srv/via-proxy
781 <Directory /srv/via-proxy/>
784 ServerName p.vbz.ffzg.hr
785 ServerAlias *.p.vbz.ffzg.hr
786 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
791 DocumentRoot /srv/via-proxy
792 <Directory /srv/via-proxy/>
795 ServerName p.vbz.ffzg.hr
796 ServerAlias *.p.vbz.ffzg.hr
797 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
799 Redirect / https://p.vbz.ffzg.hr