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 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
543 Include /srv/via-proxy/ssl.conf
545 ServerName link.springer.com.p.vbz.ffzg.hr
549 ProxyPass / https://link.springer.com/
550 ProxyPassReverse / https://link.springer.com/
552 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
553 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
555 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
559 Include /srv/via-proxy/ssl.conf
561 ServerName www.tandfonline.com.p.vbz.ffzg.hr
565 ProxyPass / https://www.tandfonline.com/
566 ProxyPassReverse / https://www.tandfonline.com/
568 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
569 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
571 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
575 Include /srv/via-proxy/ssl.conf
577 ServerName www.sciencedirect.com.p.vbz.ffzg.hr
581 ProxyPass / https://www.sciencedirect.com/
582 ProxyPassReverse / https://www.sciencedirect.com/
584 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
585 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
588 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
592 Include /srv/via-proxy/ssl.conf
594 ServerName www.scopus.com.p.vbz.ffzg.hr
598 ProxyPass / https://www.scopus.com/
599 ProxyPassReverse / https://www.scopus.com/
601 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
602 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
604 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
608 Include /srv/via-proxy/ssl.conf
610 ServerName journals.bmj.com.p.vbz.ffzg.hr
612 RequestHeader unset Accept-Encoding
613 Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
614 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
615 FilterDeclare NEWPATHS
616 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
617 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
618 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
619 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
622 # fix all other plain http resources
624 RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
628 ProxyPass / http://journals.bmj.com/
629 ProxyPassReverse / http://journals.bmj.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 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
638 Include /srv/via-proxy/ssl.conf
640 ServerName journals.bmj.com.p.vbz.ffzg.hr
644 ProxyPass / http://journals.bmj.com/
645 ProxyPassReverse / http://journals.bmj.com/
647 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
648 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
650 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
654 Include /srv/via-proxy/ssl.conf
656 ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
658 RequestHeader unset Accept-Encoding
659 Substitute "s|http://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
660 FilterDeclare NEWPATHS
661 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
662 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
663 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
664 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
668 ProxyPass /_static_/ http://staticieeexplore.ieee.org/
669 ProxyPassReverse /_static_/ http://staticieeexplore.ieee.org/
671 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
673 ProxyPass / http://ieeexplore.ieee.org/
674 ProxyPassReverse / http://ieeexplore.ieee.org/
676 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
677 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
679 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
683 Include /srv/via-proxy/ssl.conf
685 ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
689 ProxyPass / https://jcr.incites.thomsonreuters.com/
690 ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
692 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
693 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
695 Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
698 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
701 Include /srv/via-proxy/ssl.conf
703 ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
707 ProxyPass / https://login.incites.thomsonreuters.com/
708 ProxyPassReverse / https://login.incites.thomsonreuters.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 # they really return http Location header even if everything else was
714 # behind https up to that point, AND https works
715 Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
717 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
724 NameVirtualHost *:443
727 Include /srv/via-proxy/ssl.conf
729 DocumentRoot /srv/via-proxy
730 <Directory /srv/via-proxy/>
733 ServerName p.vbz.ffzg.hr
734 ServerAlias *.p.vbz.ffzg.hr
735 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
740 DocumentRoot /srv/via-proxy
741 <Directory /srv/via-proxy/>
744 ServerName p.vbz.ffzg.hr
745 ServerAlias *.p.vbz.ffzg.hr
746 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
748 Redirect / https://p.vbz.ffzg.hr