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
9 ProxyPass / https://muse.jhu.edu/
10 ProxyPassReverse / https://muse.jhu.edu/
11 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
12 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
13 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
16 # a2enmod proxy_http proxy_html xml2enc headers
18 # https://www.oclc.org/support/services/ezproxy/documentation/db/cambridgecore.en.html
21 Include /srv/via-proxy/ssl.conf
23 ServerName www.cambridge.org.p.vbz.ffzg.hr
26 ProxyPass / https://www.cambridge.org/
27 ProxyPassReverse / https://www.cambridge.org/
28 #ProxyPassReverseCookieDomain www.cambridge.org www.cambridge.org.p.vbz.ffzg.hr
29 #ProxyPassReverseCookieDomain cambridge.org cambridge.org.p.vbz.ffzg.hr
30 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
31 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
33 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
35 #ProxyHTMLLogVerbose On
38 #SetOutputFilter INFLATE;DEFLATE
39 RequestHeader unset Accept-Encoding
44 # ProxyHTMLExtended On
45 # ProxyHTMLURLMap http://www.cambridge.org /
48 Substitute "s|http://www.cambridge.org/|/|n"
49 Substitute "s|https://www.cambridge.org/|/|n"
50 FilterDeclare NEWPATHS
51 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
52 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
53 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
54 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
60 Include /srv/via-proxy/ssl.conf
62 ServerName search.proquest.com.p.vbz.ffzg.hr
65 ProxyPass / https://search.proquest.com/
66 ProxyPassReverse / https://search.proquest.com/
68 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
69 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
71 RequestHeader unset Accept-Encoding
72 Substitute "s|https://search.proquest.com/|/|n"
73 FilterDeclare NEWPATHS2
74 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
75 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
76 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
77 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
80 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
84 Include /srv/via-proxy/ssl.conf
86 ServerName academic.oup.com.p.vbz.ffzg.hr
89 ProxyPass / https://academic.oup.com/
90 ProxyPassReverse / https://academic.oup.com/
92 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
93 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
95 RequestHeader unset Accept-Encoding
97 Substitute "s|https://academic.oup.com/|/|n"
98 FilterDeclare NEWPATHS2
99 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
100 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
101 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
102 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
103 FilterChain NEWPATHS2
105 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
108 # https://www.oclc.org/support/services/ezproxy/documentation/db/ovid.en.html
110 Include /srv/via-proxy/ssl.conf
112 ServerName ovidsp.tx.ovid.com.p.vbz.ffzg.hr
115 ProxyPass / https://ovidsp.tx.ovid.com/
116 ProxyPassReverse / https://ovidsp.tx.ovid.com/
118 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
119 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
121 RequestHeader unset Accept-Encoding
123 Substitute "s|https://ovidsp.tx.ovid.com/|/|n"
124 FilterDeclare NEWPATHS2
125 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
126 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
127 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
128 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
129 FilterChain NEWPATHS2
131 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
135 Include /srv/via-proxy/ssl.conf
137 ServerName onlinelibrary.wiley.com.p.vbz.ffzg.hr
141 ProxyPass / https://onlinelibrary.wiley.com/
142 ProxyPassReverse / https://onlinelibrary.wiley.com/
144 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
145 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
147 Header edit* Location "https://anthrosource.onlinelibrary.wiley.com" "https://anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr"
148 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
151 Include /srv/via-proxy/ssl.conf
153 ServerName anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr
157 ProxyPass / https://anthrosource.onlinelibrary.wiley.com/
158 ProxyPassReverse / https://anthrosource.onlinelibrary.wiley.com/
160 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
161 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
163 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
167 Include /srv/via-proxy/ssl.conf
169 ServerName journals.sagepub.com.p.vbz.ffzg.hr
173 ProxyPass / http://journals.sagepub.com/
174 ProxyPassReverse / http://journals.sagepub.com/
176 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
177 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
179 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
183 Include /srv/via-proxy/ssl.conf
185 ServerName pubs.rsc.org.p.vbz.ffzg.hr
189 ProxyPass /_rsc-cdn_/ http://www.rsc-cdn.org/
190 ProxyPassReverse /_rsc-cdn_/ http://www.rsc-cdn.org/
192 # FIXME -- this doesn't work behind https and include http resources
193 ProxyPass / http://pubs.rsc.org/
194 ProxyPassReverse / http://pubs.rsc.org/
196 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
197 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
199 RequestHeader unset Accept-Encoding
200 Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
201 Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
202 Substitute "s|http://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
203 FilterDeclare NEWPATHS
204 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
205 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
206 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
207 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
210 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
213 Include /srv/via-proxy/ssl.conf
215 ServerName www.rsc.org.p.vbz.ffzg.hr
219 ProxyPass /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
220 ProxyPassReverse /_epi-rsc_/ http://epi-rsc.rsc-cdn.org/
222 # FIXME -- this doesn't work behind https and include http resources
223 ProxyPass / http://www.rsc.org/
224 ProxyPassReverse / http://www.rsc.org/
226 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
227 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
229 RequestHeader unset Accept-Encoding
230 Substitute "s|http://epi-rsc.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_epi-rsc_/|"
231 # Substitute "s|http://[a-z-]*.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
232 Substitute "s|http://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
233 Substitute "s|http://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
234 FilterDeclare NEWPATHS
235 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
236 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
237 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
238 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
241 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
246 Include /srv/via-proxy/ssl.conf
248 ServerName www.brepolis.net.p.vbz.ffzg.hr
252 ProxyPass / http://www.brepolis.net/
253 ProxyPassReverse / http://www.brepolis.net/
255 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
256 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
258 RequestHeader unset Accept-Encoding
260 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
261 FilterDeclare NEWPATHS2
262 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
263 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
264 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
265 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
266 FilterChain NEWPATHS2
268 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
271 Include /srv/via-proxy/ssl.conf
273 ServerName apps.brepolis.net.p.vbz.ffzg.hr
277 ProxyPass / http://apps.brepolis.net/
278 ProxyPassReverse / http://apps.brepolis.net/
280 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
281 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
283 RequestHeader unset Accept-Encoding
285 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
286 FilterDeclare NEWPATHS2
287 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
288 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
289 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
290 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
291 FilterChain NEWPATHS2
292 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
297 Include /srv/via-proxy/ssl.conf
299 ServerName www.cairn.info.p.vbz.ffzg.hr
304 ProxyPass / https://www.cairn.info/
305 ProxyPassReverse / https://www.cairn.info/
307 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
308 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
310 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
315 Include /srv/via-proxy/ssl.conf
317 ServerName www.degruyter.com.p.vbz.ffzg.hr
322 ProxyPass / https://www.degruyter.com/
323 ProxyPassReverse / https://www.degruyter.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
333 Include /srv/via-proxy/ssl.conf
335 ServerName www.emeraldinsight.com.p.vbz.ffzg.hr
339 ProxyPass / https://www.emeraldinsight.com/
340 ProxyPassReverse / https://www.emeraldinsight.com/
342 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
343 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
345 Header edit* Location "http://emeraldgrouppublishing.com/" "https://emeraldgrouppublishing.com.p.vbz.ffzg.hr/"
347 # they have hard-coded absolute links
348 RequestHeader unset Accept-Encoding
349 Substitute "s|https://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
350 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
351 FilterDeclare NEWPATHS2
352 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
353 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
354 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
355 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
356 FilterChain NEWPATHS2
358 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
361 Include /srv/via-proxy/ssl.conf
363 ServerName www.emeraldgrouppublishing.com.p.vbz.ffzg.hr
364 ServerAlias emeraldgrouppublishing.com.p.vbz.ffzg.hr
366 # FIXME target server for www.emeraldgrouppublishing.com doesn't have that in SSL cert
369 ProxyPass / http://www.emeraldgrouppublishing.com/
370 ProxyPassReverse / http://www.emeraldgrouppublishing.com/
372 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
373 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
375 # they have hard-coded absolute links
376 RequestHeader unset Accept-Encoding
377 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
378 Substitute "s|http://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
379 FilterDeclare NEWPATHS2
380 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
381 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
382 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
383 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
384 FilterChain NEWPATHS2
386 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
390 Include /srv/via-proxy/ssl.conf
392 ServerName www.webofknowledge.com.p.vbz.ffzg.hr
396 ProxyPass / https://www.webofknowledge.com/
397 ProxyPassReverse / https://www.webofknowledge.com/
399 Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
401 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
402 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
404 RequestHeader unset Accept-Encoding
405 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
406 FilterDeclare NEWPATHS2
407 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
408 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
409 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
410 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
411 FilterChain NEWPATHS2
412 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
416 Include /srv/via-proxy/ssl.conf
418 ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
422 ProxyPass / https://apps.webofknowledge.com/
423 ProxyPassReverse / https://apps.webofknowledge.com/
425 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
426 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
428 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
433 Include /srv/via-proxy/ssl.conf
435 ServerName www.jstor.org.p.vbz.ffzg.hr
439 ProxyPass / https://www.jstor.org/
440 ProxyPassReverse / https://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"
446 RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
448 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
450 # Header set Access-Control-Allow-Origin "*"
451 # Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"
454 # X-Requested-With: XMLHttpRequest
455 # https://www.jstor.org/ui_log/info
456 # https://www.jstor.org/access_details/?_=1535108073005
457 # https://www.jstor.org/workspace-service/get-dois?_=1535108073006
458 # https://www.jstor.org/tc/check/10.2307/40323659?_=1535108073007
459 # https://www.jstor.org/tc/accept?origin=%2Ftc%2Fcheck%2F10.2307%2F40323659%3F_%3D1535108073007
460 # https://www.jstor.org/ui_log/counter
463 #Header always set Access-Control-Allow-Origin "*"
464 #Header always set Access-Control-Max-Age "1000"
465 #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
468 # OCLC has special case for this header
469 # SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
470 # RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
472 #ForensicLog /var/log/apache2/forensic-jstor.log
474 RequestHeader unset Accept-Encoding
475 Substitute "s|//www.jstor.org/|//www.jstor.org.p.vbz.ffzg.hr/|n"
476 FilterDeclare NEWPATHS2
477 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
478 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
479 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
480 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
481 FilterChain NEWPATHS2
486 Include /srv/via-proxy/ssl.conf
488 ServerName www.nature.com.p.vbz.ffzg.hr
492 ProxyPass / https://www.nature.com/
493 ProxyPassReverse / https://www.nature.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 Header edit* Location "https?://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
500 RequestHeader unset Accept-Encoding
501 Substitute "s|https://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
502 FilterDeclare NEWPATHS2
503 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
504 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
505 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
506 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
507 FilterChain NEWPATHS2
509 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
512 Include /srv/via-proxy/ssl.conf
514 ServerName idp.nature.com.p.vbz.ffzg.hr
518 ProxyPass / https://idp.nature.com/
519 ProxyPassReverse / https://idp.nature.com/
521 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
522 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
523 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
525 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
530 Include /srv/via-proxy/ssl.conf
532 ServerName www.palgrave.com.p.vbz.ffzg.hr
536 #DumpIOLogLevel debug
544 ProxyPass / https://www.palgrave.com/
545 ProxyPassReverse / https://www.palgrave.com/
547 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
548 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
550 RequestHeader unset Accept-Encoding
551 Substitute "s|https://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
552 Substitute "s|http://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
553 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
554 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
555 FilterDeclare NEWPATHS2
556 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
557 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
558 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
559 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
560 FilterChain NEWPATHS2
562 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
566 Include /srv/via-proxy/ssl.conf
568 ServerName www.springer.com.p.vbz.ffzg.hr
572 ProxyPass / https://www.springer.com/
573 ProxyPassReverse / https://www.springer.com/
575 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
576 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
578 RequestHeader unset Accept-Encoding
579 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
580 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
581 FilterDeclare NEWPATHS2
582 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
583 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
584 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
585 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
586 FilterChain NEWPATHS2
588 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
591 Include /srv/via-proxy/ssl.conf
593 ServerName link.springer.com.p.vbz.ffzg.hr
595 # download links to pdf have %2F instead of / in them
596 AllowEncodedSlashes On
597 # this might need nocanon in ProxyPass too!
601 ProxyPass / https://link.springer.com/
602 ProxyPassReverse / https://link.springer.com/
604 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
605 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
607 RequestHeader unset Accept-Encoding
608 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
609 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
610 FilterDeclare NEWPATHS2
611 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
612 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
613 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
614 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
615 FilterChain NEWPATHS2
617 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
621 Include /srv/via-proxy/ssl.conf
623 ServerName www.tandfonline.com.p.vbz.ffzg.hr
627 ProxyPass / https://www.tandfonline.com/
628 ProxyPassReverse / https://www.tandfonline.com/
630 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
631 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
633 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
637 Include /srv/via-proxy/ssl.conf
639 ServerName www.sciencedirect.com.p.vbz.ffzg.hr
643 ProxyPass / https://www.sciencedirect.com/
644 ProxyPassReverse / https://www.sciencedirect.com/
646 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
647 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 www.scopus.com.p.vbz.ffzg.hr
660 ProxyPass / https://www.scopus.com/
661 ProxyPassReverse / https://www.scopus.com/
663 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
664 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
666 RequestHeader unset Accept-Encoding
667 Substitute "s|https://www.scopus.com|https://www.scopus.com.p.vbz.ffzg.hr|"
668 FilterDeclare NEWPATHS
669 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
670 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
671 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
672 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
675 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
679 Include /srv/via-proxy/ssl.conf
681 ServerName journals.bmj.com.p.vbz.ffzg.hr
683 RequestHeader unset Accept-Encoding
684 Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
685 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
686 FilterDeclare NEWPATHS
687 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
688 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
689 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
690 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
693 # fix all other plain http resources
695 RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
699 ProxyPass / http://journals.bmj.com/
700 ProxyPassReverse / http://journals.bmj.com/
702 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
703 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
705 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
709 Include /srv/via-proxy/ssl.conf
711 ServerName journals.bmj.com.p.vbz.ffzg.hr
715 ProxyPass / http://journals.bmj.com/
716 ProxyPassReverse / http://journals.bmj.com/
718 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
719 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
721 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
725 Include /srv/via-proxy/ssl.conf
727 ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
729 RequestHeader unset Accept-Encoding
730 Substitute "s|http://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
731 FilterDeclare NEWPATHS
732 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
733 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
734 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
735 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
739 ProxyPass /_static_/ http://staticieeexplore.ieee.org/
740 ProxyPassReverse /_static_/ http://staticieeexplore.ieee.org/
742 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
744 ProxyPass / http://ieeexplore.ieee.org/
745 ProxyPassReverse / http://ieeexplore.ieee.org/
747 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
748 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
750 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
754 Include /srv/via-proxy/ssl.conf
756 ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
760 ProxyPass / https://jcr.incites.thomsonreuters.com/
761 ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
763 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
764 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
766 Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
769 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
772 Include /srv/via-proxy/ssl.conf
774 ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
778 ProxyPass / https://login.incites.thomsonreuters.com/
779 ProxyPassReverse / https://login.incites.thomsonreuters.com/
781 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
782 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
784 # they really return http Location header even if everything else was
785 # behind https up to that point, AND https works
786 Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
788 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
795 NameVirtualHost *:443
798 Include /srv/via-proxy/ssl.conf
800 DocumentRoot /srv/via-proxy
801 <Directory /srv/via-proxy/>
804 ServerName p.vbz.ffzg.hr
805 ServerAlias *.p.vbz.ffzg.hr
806 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
810 #ForensicLog /var/log/apache2/forensic-p.vbz.ffzg.hr.log
812 ProxyPass /mjesec/ http://mjesec.ffzg.hr/
813 ProxyPassReverse /mjesec/ http://mjesec.ffzg.hr/
815 RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
817 ProxyPass /via/ http://via.rot13.org/
818 ProxyPassReverse /via/ http://via.rot13.org/
822 DocumentRoot /srv/via-proxy
823 <Directory /srv/via-proxy/>
826 ServerName p.vbz.ffzg.hr
827 ServerAlias *.p.vbz.ffzg.hr
828 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
830 Redirect / https://p.vbz.ffzg.hr