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
10 ProxyPass / https://muse.jhu.edu/
11 ProxyPassReverse / https://muse.jhu.edu/
12 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
13 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
15 RequestHeader unset Accept-Encoding
16 Substitute "s|https://muse.jhu.edu/|https://muse.jhu.edu.p.vbz.ffzg.hr/|"
17 Substitute "s|https://about.muse.jhu.edu/|https://about.muse.jhu.edu.p.vbz.ffzg.hr/|"
18 FilterDeclare NEWPATHS
19 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
20 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
21 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
22 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
24 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
28 Include /srv/via-proxy/ssl.conf
29 ServerName about.muse.jhu.edu.p.vbz.ffzg.hr
33 ProxyPass / https://about.muse.jhu.edu/
34 ProxyPassReverse / https://about.muse.jhu.edu/
35 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
36 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
38 RequestHeader unset Accept-Encoding
39 Substitute "s|https://muse.jhu.edu/|https://muse.jhu.edu.p.vbz.ffzg.hr/|"
40 Substitute "s|https://about.muse.jhu.edu/|https://about.muse.jhu.edu.p.vbz.ffzg.hr/|"
41 FilterDeclare NEWPATHS
42 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
43 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
44 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
45 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
47 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
50 # a2enmod proxy_http proxy_html xml2enc headers
52 # https://www.oclc.org/support/services/ezproxy/documentation/db/cambridgecore.en.html
55 Include /srv/via-proxy/ssl.conf
57 ServerName www.cambridge.org.p.vbz.ffzg.hr
60 ProxyPass / https://www.cambridge.org/
61 ProxyPassReverse / https://www.cambridge.org/
62 #ProxyPassReverseCookieDomain www.cambridge.org www.cambridge.org.p.vbz.ffzg.hr
63 #ProxyPassReverseCookieDomain cambridge.org cambridge.org.p.vbz.ffzg.hr
64 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
65 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
67 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
69 #ProxyHTMLLogVerbose On
72 #SetOutputFilter INFLATE;DEFLATE
73 RequestHeader unset Accept-Encoding
78 # ProxyHTMLExtended On
79 # ProxyHTMLURLMap http://www.cambridge.org /
82 Substitute "s|http://www.cambridge.org/|/|n"
83 Substitute "s|https://www.cambridge.org/|/|n"
84 FilterDeclare NEWPATHS
85 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
86 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
87 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
88 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
94 Include /srv/via-proxy/ssl.conf
96 ServerName search.proquest.com.p.vbz.ffzg.hr
99 ProxyPass / https://search.proquest.com/
100 ProxyPassReverse / https://search.proquest.com/
102 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
103 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
105 RequestHeader unset Accept-Encoding
106 Substitute "s|https://search.proquest.com/|/|n"
107 FilterDeclare NEWPATHS2
108 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
109 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
110 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
111 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
112 FilterChain NEWPATHS2
114 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
118 Include /srv/via-proxy/ssl.conf
120 ServerName academic.oup.com.p.vbz.ffzg.hr
123 ProxyPass / https://academic.oup.com/
124 ProxyPassReverse / https://academic.oup.com/
126 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
127 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
129 RequestHeader unset Accept-Encoding
131 Substitute "s|https://academic.oup.com/|/|n"
132 FilterDeclare NEWPATHS2
133 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
134 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
135 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
136 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
137 FilterChain NEWPATHS2
139 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
142 # https://www.oclc.org/support/services/ezproxy/documentation/db/ovid.en.html
144 Include /srv/via-proxy/ssl.conf
146 ServerName ovidsp.tx.ovid.com.p.vbz.ffzg.hr
149 ProxyPass / https://ovidsp.tx.ovid.com/
150 ProxyPassReverse / https://ovidsp.tx.ovid.com/
152 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
153 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
155 RequestHeader unset Accept-Encoding
157 Substitute "s|https://ovidsp.tx.ovid.com/|/|n"
158 FilterDeclare NEWPATHS2
159 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
160 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
161 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
162 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
163 FilterChain NEWPATHS2
165 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
169 Include /srv/via-proxy/ssl.conf
171 ServerName onlinelibrary.wiley.com.p.vbz.ffzg.hr
175 ProxyPass / https://onlinelibrary.wiley.com/
176 ProxyPassReverse / https://onlinelibrary.wiley.com/
178 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
179 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
181 Header edit* Location "https://anthrosource.onlinelibrary.wiley.com" "https://anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr"
182 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
185 Include /srv/via-proxy/ssl.conf
187 ServerName anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr
191 ProxyPass / https://anthrosource.onlinelibrary.wiley.com/
192 ProxyPassReverse / https://anthrosource.onlinelibrary.wiley.com/
194 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
195 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
197 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
201 Include /srv/via-proxy/ssl.conf
203 ServerName journals.sagepub.com.p.vbz.ffzg.hr
207 ProxyPass / https://journals.sagepub.com/
208 ProxyPassReverse / https://journals.sagepub.com/
210 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
211 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
213 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
217 Include /srv/via-proxy/ssl.conf
219 ServerName pubs.rsc.org.p.vbz.ffzg.hr
223 ProxyPass /_rsc-cdn_/ https://www.rsc-cdn.org/
224 ProxyPassReverse /_rsc-cdn_/ https://www.rsc-cdn.org/
226 ProxyPass / https://pubs.rsc.org/
227 ProxyPassReverse / https://pubs.rsc.org/
229 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
230 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
232 RequestHeader unset Accept-Encoding
233 Substitute "s|https://[a-z-]*.rsc-cdn.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
234 Substitute "s|https://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
235 Substitute "s|https://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
236 FilterDeclare NEWPATHS
237 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
238 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
239 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
240 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
243 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
246 Include /srv/via-proxy/ssl.conf
248 ServerName www.rsc.org.p.vbz.ffzg.hr
252 ProxyPass /_epi-rsc_/ https://epi-rsc.rsc-cdn.org/
253 ProxyPassReverse /_epi-rsc_/ https://epi-rsc.rsc-cdn.org/
255 ProxyPass / https://www.rsc.org/
256 ProxyPassReverse / https://www.rsc.org/
258 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
259 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
261 RequestHeader unset Accept-Encoding
262 Substitute "s|https://epi-rsc.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_epi-rsc_/|"
263 # Substitute "s|https://[a-z-]*.rsc-cdn.org/|https://www.rsc.org.p.vbz.ffzg.hr/_rsc-cdn_/|"
264 Substitute "s|https://www.rsc.org/|https://www.rsc.org.p.vbz.ffzg.hr/|"
265 Substitute "s|https://pubs.rsc.org/|https://pubs.rsc.org.p.vbz.ffzg.hr/|"
266 FilterDeclare NEWPATHS
267 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
268 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
269 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
270 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
273 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
278 Include /srv/via-proxy/ssl.conf
280 ServerName www.brepolis.net.p.vbz.ffzg.hr
284 ProxyPass / http://www.brepolis.net/
285 ProxyPassReverse / http://www.brepolis.net/
287 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
288 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
290 RequestHeader unset Accept-Encoding
292 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
293 FilterDeclare NEWPATHS2
294 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
295 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
296 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
297 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
298 FilterChain NEWPATHS2
300 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
303 Include /srv/via-proxy/ssl.conf
305 ServerName apps.brepolis.net.p.vbz.ffzg.hr
309 ProxyPass / http://apps.brepolis.net/
310 ProxyPassReverse / http://apps.brepolis.net/
312 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
313 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
315 RequestHeader unset Accept-Encoding
317 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
318 FilterDeclare NEWPATHS2
319 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
320 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
321 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
322 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
323 FilterChain NEWPATHS2
324 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
329 Include /srv/via-proxy/ssl.conf
331 ServerName www.cairn.info.p.vbz.ffzg.hr
336 ProxyPass / https://www.cairn.info/
337 ProxyPassReverse / https://www.cairn.info/
339 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
340 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
342 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
347 Include /srv/via-proxy/ssl.conf
349 ServerName www.degruyter.com.p.vbz.ffzg.hr
354 ProxyPass / https://www.degruyter.com/
355 ProxyPassReverse / https://www.degruyter.com/
357 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
358 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
360 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
365 Include /srv/via-proxy/ssl.conf
367 ServerName www.emeraldinsight.com.p.vbz.ffzg.hr
371 ProxyPass / https://www.emeraldinsight.com/
372 ProxyPassReverse / https://www.emeraldinsight.com/
374 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
375 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
377 Header edit* Location "http://emeraldgrouppublishing.com/" "https://emeraldgrouppublishing.com.p.vbz.ffzg.hr/"
379 # they have hard-coded absolute links
380 RequestHeader unset Accept-Encoding
381 Substitute "s|https://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
382 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
383 FilterDeclare NEWPATHS2
384 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
385 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
386 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
387 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
388 FilterChain NEWPATHS2
390 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
393 Include /srv/via-proxy/ssl.conf
395 ServerName www.emeraldgrouppublishing.com.p.vbz.ffzg.hr
396 ServerAlias emeraldgrouppublishing.com.p.vbz.ffzg.hr
398 # FIXME target server for www.emeraldgrouppublishing.com doesn't have that in SSL cert
401 ProxyPass / http://www.emeraldgrouppublishing.com/
402 ProxyPassReverse / http://www.emeraldgrouppublishing.com/
404 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
405 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
407 # they have hard-coded absolute links
408 RequestHeader unset Accept-Encoding
409 Substitute "s|http://www.emeraldgrouppublishing.com/|https://www.emeraldgrouppublishing.com.p.vbz.ffzg.hr/|n"
410 Substitute "s|http://www.emeraldinsight.com/|https://www.emeraldinsight.com.p.vbz.ffzg.hr/|n"
411 FilterDeclare NEWPATHS2
412 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
413 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
414 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
415 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
416 FilterChain NEWPATHS2
418 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
422 Include /srv/via-proxy/ssl.conf
424 ServerName www.webofknowledge.com.p.vbz.ffzg.hr
428 ProxyPass / https://www.webofknowledge.com/
429 ProxyPassReverse / https://www.webofknowledge.com/
431 Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
433 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
434 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
436 RequestHeader unset Accept-Encoding
437 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
438 FilterDeclare NEWPATHS2
439 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
440 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
441 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
442 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
443 FilterChain NEWPATHS2
444 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
448 Include /srv/via-proxy/ssl.conf
450 ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
454 ProxyPass / https://apps.webofknowledge.com/
455 ProxyPassReverse / https://apps.webofknowledge.com/
457 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
458 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
460 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
465 Include /srv/via-proxy/ssl.conf
467 ServerName www.jstor.org.p.vbz.ffzg.hr
471 ProxyPass / https://www.jstor.org/
472 ProxyPassReverse / https://www.jstor.org/
474 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
475 # Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
477 #Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
478 RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
480 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
482 # Header set Access-Control-Allow-Origin "*"
483 # Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"
486 # X-Requested-With: XMLHttpRequest
487 # https://www.jstor.org/ui_log/info
488 # https://www.jstor.org/access_details/?_=1535108073005
489 # https://www.jstor.org/workspace-service/get-dois?_=1535108073006
490 # https://www.jstor.org/tc/check/10.2307/40323659?_=1535108073007
491 # https://www.jstor.org/tc/accept?origin=%2Ftc%2Fcheck%2F10.2307%2F40323659%3F_%3D1535108073007
492 # https://www.jstor.org/ui_log/counter
495 #Header always set Access-Control-Allow-Origin "*"
496 #Header always set Access-Control-Max-Age "1000"
497 #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
500 # OCLC has special case for this header
501 # SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
502 # RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
504 #ForensicLog /var/log/apache2/forensic-jstor.log
506 RequestHeader unset Accept-Encoding
507 Substitute "s|//www.jstor.org/|//www.jstor.org.p.vbz.ffzg.hr/|n"
508 FilterDeclare NEWPATHS2
509 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
510 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
511 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
512 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
513 FilterChain NEWPATHS2
518 Include /srv/via-proxy/ssl.conf
520 ServerName www.nature.com.p.vbz.ffzg.hr
524 ProxyPass / https://www.nature.com/
525 ProxyPassReverse / https://www.nature.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 Header edit* Location "https?://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
532 RequestHeader unset Accept-Encoding
533 Substitute "s|https://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
534 FilterDeclare NEWPATHS2
535 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
536 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
537 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
538 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
539 FilterChain NEWPATHS2
541 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
544 Include /srv/via-proxy/ssl.conf
546 ServerName idp.nature.com.p.vbz.ffzg.hr
550 ProxyPass / https://idp.nature.com/
551 ProxyPassReverse / https://idp.nature.com/
553 Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
554 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
555 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
557 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
562 Include /srv/via-proxy/ssl.conf
564 ServerName www.palgrave.com.p.vbz.ffzg.hr
568 #DumpIOLogLevel debug
576 ProxyPass / https://www.palgrave.com/
577 ProxyPassReverse / https://www.palgrave.com/
579 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
580 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
582 RequestHeader unset Accept-Encoding
583 Substitute "s|https://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
584 Substitute "s|http://www.palgrave.com|https://www.palgrave.com.p.vbz.ffzg.hr|n"
585 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
586 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
587 FilterDeclare NEWPATHS2
588 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
589 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
590 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
591 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
592 FilterChain NEWPATHS2
594 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
598 Include /srv/via-proxy/ssl.conf
600 ServerName www.springer.com.p.vbz.ffzg.hr
604 ProxyPass / https://www.springer.com/
605 ProxyPassReverse / https://www.springer.com/
607 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
608 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
610 RequestHeader unset Accept-Encoding
611 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
612 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
613 FilterDeclare NEWPATHS2
614 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
615 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
616 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
617 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
618 FilterChain NEWPATHS2
620 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
623 Include /srv/via-proxy/ssl.conf
625 ServerName link.springer.com.p.vbz.ffzg.hr
627 # download links to pdf have %2F instead of / in them
628 AllowEncodedSlashes On
629 # this might need nocanon in ProxyPass too!
633 ProxyPass / https://link.springer.com/
634 ProxyPassReverse / https://link.springer.com/
636 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
637 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
639 RequestHeader unset Accept-Encoding
640 Substitute "s|http://link.springer.com|https://link.springer.com.p.vbz.ffzg.hr|n"
641 Substitute "s|http://www.springer.com|https://www.springer.com.p.vbz.ffzg.hr|n"
642 FilterDeclare NEWPATHS2
643 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
644 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
645 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
646 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
647 FilterChain NEWPATHS2
649 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
653 Include /srv/via-proxy/ssl.conf
655 ServerName www.tandfonline.com.p.vbz.ffzg.hr
659 ProxyPass / https://www.tandfonline.com/
660 ProxyPassReverse / https://www.tandfonline.com/
662 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
663 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
665 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
669 Include /srv/via-proxy/ssl.conf
671 ServerName www.sciencedirect.com.p.vbz.ffzg.hr
675 ProxyPass / https://www.sciencedirect.com/
676 ProxyPassReverse / https://www.sciencedirect.com/
678 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
679 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
682 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
686 Include /srv/via-proxy/ssl.conf
688 ServerName www.scopus.com.p.vbz.ffzg.hr
692 ProxyPass / https://www.scopus.com/
693 ProxyPassReverse / https://www.scopus.com/
695 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
696 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
698 RequestHeader unset Accept-Encoding
699 Substitute "s|https://www.scopus.com|https://www.scopus.com.p.vbz.ffzg.hr|"
700 FilterDeclare NEWPATHS
701 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
702 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
703 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
704 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
707 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
711 Include /srv/via-proxy/ssl.conf
713 ServerName journals.bmj.com.p.vbz.ffzg.hr
715 RequestHeader unset Accept-Encoding
716 Substitute "s|(http:)?//(\w+)\.bmj\.com/|https://journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$2/_path_/|"
717 # Substitute "s|//(.*)\.bmj\.com/|//journals.bmj.com.p.vbz.ffzg.hr/_rewrite_/$1/_path_/|"
718 FilterDeclare NEWPATHS
719 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
720 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
721 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
722 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
725 # fix all other plain http resources
727 RewriteRule /_rewrite_/(.*)/_path_/(.*) http://$1.bmj.com/$2 [P,L]
731 ProxyPass / http://journals.bmj.com/
732 ProxyPassReverse / http://journals.bmj.com/
734 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
735 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
737 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
741 Include /srv/via-proxy/ssl.conf
743 ServerName journals.bmj.com.p.vbz.ffzg.hr
747 ProxyPass / http://journals.bmj.com/
748 ProxyPassReverse / http://journals.bmj.com/
750 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
751 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
753 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
757 Include /srv/via-proxy/ssl.conf
759 ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
761 RequestHeader unset Accept-Encoding
762 Substitute "s|https://staticieeexplore.ieee.org/|https://ieeexplore.ieee.org.p.vbz.ffzg.hr/_static_/|n"
763 FilterDeclare NEWPATHS
764 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
765 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
766 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
767 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
771 ProxyPass /_static_/ https://staticieeexplore.ieee.org/
772 ProxyPassReverse /_static_/ https://staticieeexplore.ieee.org/
774 # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
776 ProxyPass / https://ieeexplore.ieee.org/
777 ProxyPassReverse / https://ieeexplore.ieee.org/
779 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
780 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
782 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
786 Include /srv/via-proxy/ssl.conf
788 ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
792 ProxyPass / https://jcr.incites.thomsonreuters.com/
793 ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
795 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
796 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
798 Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
801 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
804 Include /srv/via-proxy/ssl.conf
806 ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
810 ProxyPass / https://login.incites.thomsonreuters.com/
811 ProxyPassReverse / https://login.incites.thomsonreuters.com/
813 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
814 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
816 # they really return http Location header even if everything else was
817 # behind https up to that point, AND https works
818 Header edit* Location "https?://(.*.incites.thomsonreuters.com)/?(.*)" "https://$1.p.vbz.ffzg.hr/$2"
820 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
824 Include /srv/via-proxy/ssl.conf
826 ServerName search.alexanderstreet.com.p.vbz.ffzg.hr
830 ProxyPass / https://search.alexanderstreet.com/
831 ProxyPassReverse / https://search.alexanderstreet.com/
833 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
834 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
836 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
840 Include /srv/via-proxy/ssl.conf
842 ServerName pubs.asha.org.p.vbz.ffzg.hr
846 ProxyPass / https://pubs.asha.org/
847 ProxyPassReverse / https://pubs.asha.org/
849 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
850 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
852 Header edit* Location "https://leader.pubs.asha.org/" "https://leader.pubs.asha.org.p.vbz.ffzg.hr/"
854 RequestHeader unset Accept-Encoding
855 Substitute "s|https://pubs.asha.org|https://pubs.asha.org.p.vbz.ffzg.hr|"
856 Substitute "s|https://leader.pubs.asha.org|https://leader.pubs.asha.org.p.vbz.ffzg.hr|"
857 FilterDeclare NEWPATHS
858 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
859 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
860 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
861 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
864 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
867 Include /srv/via-proxy/ssl.conf
869 ServerName leader.pubs.asha.org.p.vbz.ffzg.hr
873 ProxyPass / https://leader.pubs.asha.org/
874 ProxyPassReverse / https://leader.pubs.asha.org/
876 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
877 Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
879 RequestHeader unset Accept-Encoding
880 Substitute "s|https://pubs.asha.org|https://pubs.asha.org.p.vbz.ffzg.hr|"
881 Substitute "s|https://leader.pubs.asha.org|https://leader.pubs.asha.org.p.vbz.ffzg.hr|"
882 FilterDeclare NEWPATHS
883 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
884 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
885 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
886 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
889 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
895 NameVirtualHost *:443
898 Include /srv/via-proxy/ssl.conf
900 DocumentRoot /srv/via-proxy
901 <Directory /srv/via-proxy/>
904 ServerName p.vbz.ffzg.hr
905 ServerAlias *.p.vbz.ffzg.hr
906 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
910 #ForensicLog /var/log/apache2/forensic-p.vbz.ffzg.hr.log
912 ProxyPass /mjesec/ http://mjesec.ffzg.hr/
913 ProxyPassReverse /mjesec/ http://mjesec.ffzg.hr/
915 RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
917 ProxyPass /via/ http://via.rot13.org/
918 ProxyPassReverse /via/ http://via.rot13.org/
922 DocumentRoot /srv/via-proxy
923 <Directory /srv/via-proxy/>
926 ServerName p.vbz.ffzg.hr
927 ServerAlias *.p.vbz.ffzg.hr
928 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
930 Redirect / https://p.vbz.ffzg.hr