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 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
348 Include /srv/via-proxy/ssl.conf
350 ServerName www.webofknowledge.com.p.vbz.ffzg.hr
354 ProxyPass / https://www.webofknowledge.com/
355 ProxyPassReverse / https://www.webofknowledge.com/
357 Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
359 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
360 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
362 RequestHeader unset Accept-Encoding
363 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
364 FilterDeclare NEWPATHS2
365 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
366 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
367 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
368 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
369 FilterChain NEWPATHS2
370 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
374 Include /srv/via-proxy/ssl.conf
376 ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
380 ProxyPass / https://apps.webofknowledge.com/
381 ProxyPassReverse / https://apps.webofknowledge.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 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
391 Include /srv/via-proxy/ssl.conf
393 ServerName www.jstor.org.p.vbz.ffzg.hr
396 # download pdf doesn't work if we use https://www.jstor.org !
398 ProxyPass / http://www.jstor.org/
399 ProxyPassReverse / http://www.jstor.org/
401 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
402 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
404 # Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
406 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
408 #Header add Access-Control-Allow-Origin ''
409 #Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type"
411 #Header always set Access-Control-Allow-Origin "*"
412 #Header always set Access-Control-Max-Age "1000"
413 #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
416 # OCLC has special case for this header
417 # SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
418 # RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
420 #ForensicLog /var/log/apache2/forensic.log
422 #RequestHeader unset Accept-Encoding
423 #Substitute "s|http://www.jsor.org/|http://www.jstor.org.p.vbz.ffzg.hr/|n"
424 #FilterDeclare NEWPATHS2
425 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
426 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
427 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
428 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
429 #FilterChain NEWPATHS2
434 Include /srv/via-proxy/ssl.conf
436 ServerName www.nature.com.p.vbz.ffzg.hr
440 ProxyPass / https://www.nature.com/
441 ProxyPassReverse / https://www.nature.com/
443 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
444 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
446 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
448 RequestHeader unset Accept-Encoding
449 Substitute "s|http://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
450 FilterDeclare NEWPATHS2
451 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
452 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
453 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
454 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
455 FilterChain NEWPATHS2
457 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
460 Include /srv/via-proxy/ssl.conf
462 ServerName idp.nature.com.p.vbz.ffzg.hr
466 ProxyPass / https://idp.nature.com/
467 ProxyPassReverse / https://idp.nature.com/
469 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
470 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
471 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
473 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
478 Include /srv/via-proxy/ssl.conf
480 ServerName www.palgrave.com.p.vbz.ffzg.hr
484 #DumpIOLogLevel debug
492 ProxyPass / https://www.palgrave.com/
493 ProxyPassReverse / https://www.palgrave.com/
495 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
496 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
498 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
502 Include /srv/via-proxy/ssl.conf
504 ServerName link.springer.com.p.vbz.ffzg.hr
508 ProxyPass / https://link.springer.com/
509 ProxyPassReverse / https://link.springer.com/
511 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
512 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
514 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
518 Include /srv/via-proxy/ssl.conf
520 ServerName www.tandfonline.com.p.vbz.ffzg.hr
524 ProxyPass / https://www.tandfonline.com/
525 ProxyPassReverse / https://www.tandfonline.com/
527 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
528 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
530 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
534 Include /srv/via-proxy/ssl.conf
536 ServerName www.sciencedirect.com.p.vbz.ffzg.hr
540 ProxyPass / https://www.sciencedirect.com/
541 ProxyPassReverse / https://www.sciencedirect.com/
543 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
544 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
547 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
551 Include /srv/via-proxy/ssl.conf
553 ServerName www.scopus.com.p.vbz.ffzg.hr
557 ProxyPass / https://www.scopus.com/
558 ProxyPassReverse / https://www.scopus.com/
560 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
561 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
563 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
567 Include /srv/via-proxy/ssl.conf
569 ServerName journals.bmj.com.p.vbz.ffzg.hr
571 RequestHeader unset Accept-Encoding
572 Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
573 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
574 FilterDeclare NEWPATHS
575 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
576 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
577 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
578 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
581 # fix all other plain http resources
583 RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
587 ProxyPass / http://journals.bmj.com/
588 ProxyPassReverse / http://journals.bmj.com/
590 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
591 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
593 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
597 Include /srv/via-proxy/ssl.conf
599 ServerName journals.bmj.com.p.vbz.ffzg.hr
603 ProxyPass / http://journals.bmj.com/
604 ProxyPassReverse / http://journals.bmj.com/
606 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
607 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
609 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
613 Include /srv/via-proxy/ssl.conf
615 ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
617 RequestHeader unset Accept-Encoding
618 Substitute "s|http://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
619 FilterDeclare NEWPATHS
620 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
621 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
622 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
623 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
627 ProxyPass /_static_/ http://staticieeexplore.ieee.org/
628 ProxyPassReverse /_static_/ http://staticieeexplore.ieee.org/
630 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
632 ProxyPass / http://ieeexplore.ieee.org/
633 ProxyPassReverse / http://ieeexplore.ieee.org/
635 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
636 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
638 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
642 Include /srv/via-proxy/ssl.conf
644 ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
648 ProxyPass / https://jcr.incites.thomsonreuters.com/
649 ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
651 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
652 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
654 Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
657 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
660 Include /srv/via-proxy/ssl.conf
662 ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
666 ProxyPass / https://login.incites.thomsonreuters.com/
667 ProxyPassReverse / https://login.incites.thomsonreuters.com/
669 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
670 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
672 # they really return http Location header even if everything else was
673 # behind https up to that point, AND https works
674 Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
676 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
683 NameVirtualHost *:443
686 Include /srv/via-proxy/ssl.conf
688 DocumentRoot /srv/via-proxy
689 <Directory /srv/via-proxy/>
692 ServerName p.vbz.ffzg.hr
693 ServerAlias *.p.vbz.ffzg.hr
694 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
699 DocumentRoot /srv/via-proxy
700 <Directory /srv/via-proxy/>
703 ServerName p.vbz.ffzg.hr
704 ServerAlias *.p.vbz.ffzg.hr
705 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
707 Redirect / https://p.vbz.ffzg.hr