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 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
150 Include /srv/via-proxy/ssl.conf
152 ServerName journals.sagepub.com.p.vbz.ffzg.hr
156 ProxyPass / http://journals.sagepub.com/
157 ProxyPassReverse / http://journals.sagepub.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 pubs.rsc.org.p.vbz.ffzg.hr
172 ProxyPass /_rsc-cdn_/ http://www.rsc-cdn.org/
173 ProxyPassReverse /_rsc-cdn_/ http://www.rsc-cdn.org/
175 # FIXME -- this doesn't work behind https and include http resources
176 ProxyPass / http://pubs.rsc.org/
177 ProxyPassReverse / http://pubs.rsc.org/
179 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
180 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
182 RequestHeader unset Accept-Encoding
183 Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
184 Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
185 Substitute "s|http://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
186 FilterDeclare NEWPATHS
187 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
188 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
189 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
190 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
193 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
196 Include /srv/via-proxy/ssl.conf
198 ServerName www.rsc.org.p.vbz.ffzg.hr
202 ProxyPass /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
203 ProxyPassReverse /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
205 # FIXME -- this doesn't work behind https and include http resources
206 ProxyPass / http://www.rsc.org/
207 ProxyPassReverse / http://www.rsc.org/
209 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
210 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
212 RequestHeader unset Accept-Encoding
213 Substitute "s|http://epi-rsc.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_epi-rsc_/|"
214 # Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
215 Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
216 Substitute "s|http://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
217 FilterDeclare NEWPATHS
218 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
219 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
220 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
221 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
224 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
229 Include /srv/via-proxy/ssl.conf
231 ServerName www.brepolis.net.p.vbz.ffzg.hr
235 ProxyPass / http://www.brepolis.net/
236 ProxyPassReverse / http://www.brepolis.net/
238 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
239 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
241 RequestHeader unset Accept-Encoding
243 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
244 FilterDeclare NEWPATHS2
245 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
246 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
247 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
248 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
249 FilterChain NEWPATHS2
251 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
254 Include /srv/via-proxy/ssl.conf
256 ServerName apps.brepolis.net.p.vbz.ffzg.hr
260 ProxyPass / http://apps.brepolis.net/
261 ProxyPassReverse / http://apps.brepolis.net/
263 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
264 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
266 RequestHeader unset Accept-Encoding
268 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
269 FilterDeclare NEWPATHS2
270 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
271 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
272 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
273 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
274 FilterChain NEWPATHS2
275 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
280 Include /srv/via-proxy/ssl.conf
282 ServerName www.cairn.info.p.vbz.ffzg.hr
287 ProxyPass / https://www.cairn.info/
288 ProxyPassReverse / https://www.cairn.info/
290 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
291 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
293 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
298 Include /srv/via-proxy/ssl.conf
300 ServerName www.degruyter.com.p.vbz.ffzg.hr
305 ProxyPass / https://www.degruyter.com/
306 ProxyPassReverse / https://www.degruyter.com/
308 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
309 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
311 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
316 Include /srv/via-proxy/ssl.conf
318 ServerName www.emeraldinsight.com.p.vbz.ffzg.hr
322 ProxyPass / https://www.emeraldinsight.com/
323 ProxyPassReverse / https://www.emeraldinsight.com/
325 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
326 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
328 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
332 Include /srv/via-proxy/ssl.conf
334 ServerName www.webofknowledge.com.p.vbz.ffzg.hr
338 ProxyPass / https://www.webofknowledge.com/
339 ProxyPassReverse / https://www.webofknowledge.com/
341 Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
343 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
344 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
346 RequestHeader unset Accept-Encoding
347 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
348 FilterDeclare NEWPATHS2
349 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
350 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
351 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
352 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
353 FilterChain NEWPATHS2
354 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
358 Include /srv/via-proxy/ssl.conf
360 ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
364 ProxyPass / https://apps.webofknowledge.com/
365 ProxyPassReverse / https://apps.webofknowledge.com/
367 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
368 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
370 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
375 Include /srv/via-proxy/ssl.conf
377 ServerName www.jstor.org.p.vbz.ffzg.hr
380 # download pdf doesn't work if we use https://www.jstor.org !
382 ProxyPass / http://www.jstor.org/
383 ProxyPassReverse / http://www.jstor.org/
385 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
386 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
388 # Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
390 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
392 #Header add Access-Control-Allow-Origin ''
393 #Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type"
395 #Header always set Access-Control-Allow-Origin "*"
396 #Header always set Access-Control-Max-Age "1000"
397 #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
400 # OCLC has special case for this header
401 # SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
402 # RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
404 #ForensicLog /var/log/apache2/forensic.log
406 #RequestHeader unset Accept-Encoding
407 #Substitute "s|http://www.jsor.org/|http://www.jstor.org.p.vbz.ffzg.hr/|n"
408 #FilterDeclare NEWPATHS2
409 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
410 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
411 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
412 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
413 #FilterChain NEWPATHS2
418 Include /srv/via-proxy/ssl.conf
420 ServerName www.nature.com.p.vbz.ffzg.hr
424 ProxyPass / https://www.nature.com/
425 ProxyPassReverse / https://www.nature.com/
427 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
428 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
430 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
432 RequestHeader unset Accept-Encoding
433 Substitute "s|http://www.nature.com/|https://www.nature.com.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
441 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
444 Include /srv/via-proxy/ssl.conf
446 ServerName idp.nature.com.p.vbz.ffzg.hr
450 ProxyPass / https://idp.nature.com/
451 ProxyPassReverse / https://idp.nature.com/
453 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
454 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
455 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
457 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
462 Include /srv/via-proxy/ssl.conf
464 ServerName www.palgrave.com.p.vbz.ffzg.hr
468 #DumpIOLogLevel debug
476 ProxyPass / https://www.palgrave.com/
477 ProxyPassReverse / https://www.palgrave.com/
479 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
480 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
482 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
486 Include /srv/via-proxy/ssl.conf
488 ServerName link.springer.com.p.vbz.ffzg.hr
492 ProxyPass / https://link.springer.com/
493 ProxyPassReverse / https://link.springer.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 www.tandfonline.com.p.vbz.ffzg.hr
508 ProxyPass / https://www.tandfonline.com/
509 ProxyPassReverse / https://www.tandfonline.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.sciencedirect.com.p.vbz.ffzg.hr
524 ProxyPass / https://www.sciencedirect.com/
525 ProxyPassReverse / https://www.sciencedirect.com/
527 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
528 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
531 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
535 Include /srv/via-proxy/ssl.conf
537 ServerName www.scopus.com.p.vbz.ffzg.hr
541 ProxyPass / https://www.scopus.com/
542 ProxyPassReverse / https://www.scopus.com/
544 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
545 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 journals.bmj.com.p.vbz.ffzg.hr
555 RequestHeader unset Accept-Encoding
556 Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
557 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
558 FilterDeclare NEWPATHS
559 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
560 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
561 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
562 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
565 # fix all other plain http resources
567 RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
571 ProxyPass / http://journals.bmj.com/
572 ProxyPassReverse / http://journals.bmj.com/
574 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
575 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
577 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
581 Include /srv/via-proxy/ssl.conf
583 ServerName journals.bmj.com.p.vbz.ffzg.hr
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 ieeexplore.ieee.org.p.vbz.ffzg.hr
601 RequestHeader unset Accept-Encoding
602 Substitute "s|http://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
603 FilterDeclare NEWPATHS
604 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
605 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
606 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
607 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
611 ProxyPass /_static_/ http://staticieeexplore.ieee.org/
612 ProxyPassReverse /_static_/ http://staticieeexplore.ieee.org/
614 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
616 ProxyPass / http://ieeexplore.ieee.org/
617 ProxyPassReverse / http://ieeexplore.ieee.org/
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 jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
632 ProxyPass / https://jcr.incites.thomsonreuters.com/
633 ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
635 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
636 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
638 Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
641 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
644 Include /srv/via-proxy/ssl.conf
646 ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
650 ProxyPass / https://login.incites.thomsonreuters.com/
651 ProxyPassReverse / https://login.incites.thomsonreuters.com/
653 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
654 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
656 # they really return http Location header even if everything else was
657 # behind https up to that point, AND https works
658 Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
660 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
667 NameVirtualHost *:443
670 Include /srv/via-proxy/ssl.conf
672 DocumentRoot /srv/via-proxy
673 <Directory /srv/via-proxy/>
676 ServerName p.vbz.ffzg.hr
677 ServerAlias *.p.vbz.ffzg.hr
678 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
683 DocumentRoot /srv/via-proxy
684 <Directory /srv/via-proxy/>
687 ServerName p.vbz.ffzg.hr
688 ServerAlias *.p.vbz.ffzg.hr
689 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
691 Redirect / https://p.vbz.ffzg.hr