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 # they have hard-coded absolute links
345 RequestHeader unset Accept-Encoding
346 Substitute "s|https://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
347 FilterDeclare NEWPATHS2
348 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
349 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
350 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
351 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
352 FilterChain NEWPATHS2
354 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
358 Include /srv/via-proxy/ssl.conf
360 ServerName www.webofknowledge.com.p.vbz.ffzg.hr
364 ProxyPass / https://www.webofknowledge.com/
365 ProxyPassReverse / https://www.webofknowledge.com/
367 Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
369 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
370 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
372 RequestHeader unset Accept-Encoding
373 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
374 FilterDeclare NEWPATHS2
375 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
376 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
377 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
378 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
379 FilterChain NEWPATHS2
380 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
384 Include /srv/via-proxy/ssl.conf
386 ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
390 ProxyPass / https://apps.webofknowledge.com/
391 ProxyPassReverse / https://apps.webofknowledge.com/
393 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
394 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
396 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
401 Include /srv/via-proxy/ssl.conf
403 ServerName www.jstor.org.p.vbz.ffzg.hr
406 # download pdf doesn't work if we use https://www.jstor.org !
408 ProxyPass / http://www.jstor.org/
409 ProxyPassReverse / http://www.jstor.org/
411 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
412 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
414 # Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
416 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
418 #Header add Access-Control-Allow-Origin ''
419 #Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type"
421 #Header always set Access-Control-Allow-Origin "*"
422 #Header always set Access-Control-Max-Age "1000"
423 #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
426 # OCLC has special case for this header
427 # SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
428 # RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
430 #ForensicLog /var/log/apache2/forensic.log
432 #RequestHeader unset Accept-Encoding
433 #Substitute "s|http://www.jsor.org/|http://www.jstor.org.p.vbz.ffzg.hr/|n"
434 #FilterDeclare NEWPATHS2
435 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
436 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
437 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
438 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
439 #FilterChain NEWPATHS2
444 Include /srv/via-proxy/ssl.conf
446 ServerName www.nature.com.p.vbz.ffzg.hr
450 ProxyPass / https://www.nature.com/
451 ProxyPassReverse / https://www.nature.com/
453 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
454 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
456 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
458 RequestHeader unset Accept-Encoding
459 Substitute "s|http://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
460 FilterDeclare NEWPATHS2
461 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
462 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
463 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
464 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
465 FilterChain NEWPATHS2
467 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
470 Include /srv/via-proxy/ssl.conf
472 ServerName idp.nature.com.p.vbz.ffzg.hr
476 ProxyPass / https://idp.nature.com/
477 ProxyPassReverse / https://idp.nature.com/
479 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
480 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
481 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
483 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
488 Include /srv/via-proxy/ssl.conf
490 ServerName www.palgrave.com.p.vbz.ffzg.hr
494 #DumpIOLogLevel debug
502 ProxyPass / https://www.palgrave.com/
503 ProxyPassReverse / https://www.palgrave.com/
505 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
506 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
508 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
512 Include /srv/via-proxy/ssl.conf
514 ServerName link.springer.com.p.vbz.ffzg.hr
518 ProxyPass / https://link.springer.com/
519 ProxyPassReverse / https://link.springer.com/
521 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
522 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
524 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
528 Include /srv/via-proxy/ssl.conf
530 ServerName www.tandfonline.com.p.vbz.ffzg.hr
534 ProxyPass / https://www.tandfonline.com/
535 ProxyPassReverse / https://www.tandfonline.com/
537 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
538 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
540 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
544 Include /srv/via-proxy/ssl.conf
546 ServerName www.sciencedirect.com.p.vbz.ffzg.hr
550 ProxyPass / https://www.sciencedirect.com/
551 ProxyPassReverse / https://www.sciencedirect.com/
553 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
554 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
557 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
561 Include /srv/via-proxy/ssl.conf
563 ServerName www.scopus.com.p.vbz.ffzg.hr
567 ProxyPass / https://www.scopus.com/
568 ProxyPassReverse / https://www.scopus.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 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
577 Include /srv/via-proxy/ssl.conf
579 ServerName journals.bmj.com.p.vbz.ffzg.hr
581 RequestHeader unset Accept-Encoding
582 Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
583 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
584 FilterDeclare NEWPATHS
585 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
586 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
587 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
588 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
591 # fix all other plain http resources
593 RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
597 ProxyPass / http://journals.bmj.com/
598 ProxyPassReverse / http://journals.bmj.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 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
607 Include /srv/via-proxy/ssl.conf
609 ServerName journals.bmj.com.p.vbz.ffzg.hr
613 ProxyPass / http://journals.bmj.com/
614 ProxyPassReverse / http://journals.bmj.com/
616 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
617 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
619 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
623 Include /srv/via-proxy/ssl.conf
625 ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
627 RequestHeader unset Accept-Encoding
628 Substitute "s|http://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
629 FilterDeclare NEWPATHS
630 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
631 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
632 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
633 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
637 ProxyPass /_static_/ http://staticieeexplore.ieee.org/
638 ProxyPassReverse /_static_/ http://staticieeexplore.ieee.org/
640 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
642 ProxyPass / http://ieeexplore.ieee.org/
643 ProxyPassReverse / http://ieeexplore.ieee.org/
645 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
646 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
648 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
652 Include /srv/via-proxy/ssl.conf
654 ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
658 ProxyPass / https://jcr.incites.thomsonreuters.com/
659 ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
661 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
662 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
664 Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
667 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
670 Include /srv/via-proxy/ssl.conf
672 ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
676 ProxyPass / https://login.incites.thomsonreuters.com/
677 ProxyPassReverse / https://login.incites.thomsonreuters.com/
679 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
680 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
682 # they really return http Location header even if everything else was
683 # behind https up to that point, AND https works
684 Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
686 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
693 NameVirtualHost *:443
696 Include /srv/via-proxy/ssl.conf
698 DocumentRoot /srv/via-proxy
699 <Directory /srv/via-proxy/>
702 ServerName p.vbz.ffzg.hr
703 ServerAlias *.p.vbz.ffzg.hr
704 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
709 DocumentRoot /srv/via-proxy
710 <Directory /srv/via-proxy/>
713 ServerName p.vbz.ffzg.hr
714 ServerAlias *.p.vbz.ffzg.hr
715 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
717 Redirect / https://p.vbz.ffzg.hr