73b9b4038c864cc1c82d4715c9de2b130912c580
[via-proxy] / p.vbz.ffzg.hr.conf
1 # test with
2 # wget --server-response -O /dev/null http://www.nature.com.p.vbz.ffzg.hr/
3
4 <VirtualHost *:443>
5         Include /srv/via-proxy/ssl.conf
6         ServerName muse.jhu.edu.p.vbz.ffzg.hr
7         SSLProxyEngine on
8         ProxyAddHeaders Off
9
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"
14
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|"
23         FilterChain NEWPATHS
24         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
25 </VirtualHost>
26
27 <VirtualHost *:443>
28         Include /srv/via-proxy/ssl.conf
29         ServerName about.muse.jhu.edu.p.vbz.ffzg.hr
30         SSLProxyEngine on
31         ProxyAddHeaders Off
32
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"
37
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|"
46         FilterChain NEWPATHS
47         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
48 </VirtualHost>
49
50 # a2enmod proxy_http proxy_html xml2enc headers
51
52 # https://www.oclc.org/support/services/ezproxy/documentation/db/cambridgecore.en.html
53
54 <VirtualHost *:443>
55         Include /srv/via-proxy/ssl.conf
56
57         ServerName www.cambridge.org.p.vbz.ffzg.hr
58         SSLProxyEngine on
59         ProxyAddHeaders Off
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"
66
67         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
68
69         #ProxyHTMLLogVerbose On
70         LogLevel Debug
71
72         #SetOutputFilter        INFLATE;DEFLATE
73         RequestHeader unset Accept-Encoding
74
75         ProxyRequests off
76
77 #       ProxyHTMLEnable On
78 #       ProxyHTMLExtended On
79 #       ProxyHTMLURLMap http://www.cambridge.org /
80
81 # a2enmod substitute
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|"
89 FilterChain NEWPATHS
90
91 </VirtualHost>
92
93 <VirtualHost *:443>
94         Include /srv/via-proxy/ssl.conf
95
96         ServerName search.proquest.com.p.vbz.ffzg.hr
97         SSLProxyEngine on
98         ProxyAddHeaders Off
99         ProxyPass / https://search.proquest.com/
100         ProxyPassReverse / https://search.proquest.com/
101
102         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
103         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
104
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
113
114         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
115 </VirtualHost>
116
117 <VirtualHost *:443>
118         Include /srv/via-proxy/ssl.conf
119
120         ServerName academic.oup.com.p.vbz.ffzg.hr
121         SSLProxyEngine on
122         ProxyAddHeaders Off
123         ProxyPass        / https://academic.oup.com/
124         ProxyPassReverse / https://academic.oup.com/
125
126         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
127         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
128
129         RequestHeader unset Accept-Encoding
130
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
138
139         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
140 </VirtualHost>
141
142 # https://www.oclc.org/support/services/ezproxy/documentation/db/ovid.en.html
143 <VirtualHost *:443>
144         Include /srv/via-proxy/ssl.conf
145
146         ServerName ovidsp.tx.ovid.com.p.vbz.ffzg.hr
147         SSLProxyEngine on
148         ProxyAddHeaders Off
149         ProxyPass        / https://ovidsp.tx.ovid.com/
150         ProxyPassReverse / https://ovidsp.tx.ovid.com/
151
152         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
153         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
154
155         RequestHeader unset Accept-Encoding
156
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
164
165         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
166 </VirtualHost>
167
168 <VirtualHost *:443>
169         Include /srv/via-proxy/ssl.conf
170
171         ServerName onlinelibrary.wiley.com.p.vbz.ffzg.hr
172         SSLProxyEngine on
173         ProxyAddHeaders Off
174
175         ProxyPass        / https://onlinelibrary.wiley.com/
176         ProxyPassReverse / https://onlinelibrary.wiley.com/
177
178         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
179         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
180
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
183 </VirtualHost>
184 <VirtualHost *:443>
185         Include /srv/via-proxy/ssl.conf
186
187         ServerName anthrosource.onlinelibrary.wiley.com.p.vbz.ffzg.hr
188         SSLProxyEngine on
189         ProxyAddHeaders Off
190
191         ProxyPass        / https://anthrosource.onlinelibrary.wiley.com/
192         ProxyPassReverse / https://anthrosource.onlinelibrary.wiley.com/
193
194         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
195         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
196
197         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
198 </VirtualHost>
199
200 <VirtualHost *:443>
201         Include /srv/via-proxy/ssl.conf
202
203         ServerName journals.sagepub.com.p.vbz.ffzg.hr
204         SSLProxyEngine on
205         ProxyAddHeaders Off
206
207         ProxyPass        / https://journals.sagepub.com/
208         ProxyPassReverse / https://journals.sagepub.com/
209
210         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
211         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
212
213         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
214 </VirtualHost>
215
216 <VirtualHost *:443>
217         Include /srv/via-proxy/ssl.conf
218
219         ServerName pubs.rsc.org.p.vbz.ffzg.hr
220         SSLProxyEngine on
221         ProxyAddHeaders Off
222
223         ProxyPass        /_rsc-cdn_/ https://www.rsc-cdn.org/
224         ProxyPassReverse /_rsc-cdn_/ https://www.rsc-cdn.org/
225
226         ProxyPass        / https://pubs.rsc.org/
227         ProxyPassReverse / https://pubs.rsc.org/
228
229         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
230         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
231
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|"
241         FilterChain NEWPATHS
242
243         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
244 </VirtualHost>
245 <VirtualHost *:443>
246         Include /srv/via-proxy/ssl.conf
247
248         ServerName www.rsc.org.p.vbz.ffzg.hr
249
250         ProxyAddHeaders Off
251
252         ProxyPass        /_epi-rsc_/ https://epi-rsc.rsc-cdn.org/
253         ProxyPassReverse /_epi-rsc_/ https://epi-rsc.rsc-cdn.org/
254
255         ProxyPass        / https://www.rsc.org/
256         ProxyPassReverse / https://www.rsc.org/
257
258         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
259         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
260
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|"
271         FilterChain NEWPATHS
272
273         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
274 </VirtualHost>
275
276
277 <VirtualHost *:443>
278         Include /srv/via-proxy/ssl.conf
279
280         ServerName www.brepolis.net.p.vbz.ffzg.hr
281
282         ProxyAddHeaders Off
283
284         ProxyPass        / http://www.brepolis.net/
285         ProxyPassReverse / http://www.brepolis.net/
286
287         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
288         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
289
290         RequestHeader unset Accept-Encoding
291
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
299
300         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
301 </VirtualHost>
302 <VirtualHost *:443>
303         Include /srv/via-proxy/ssl.conf
304
305         ServerName apps.brepolis.net.p.vbz.ffzg.hr
306
307         ProxyAddHeaders Off
308
309         ProxyPass        / http://apps.brepolis.net/
310         ProxyPassReverse / http://apps.brepolis.net/
311
312         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
313         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
314
315         RequestHeader unset Accept-Encoding
316
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
325 </VirtualHost>
326
327
328 <VirtualHost *:443>
329         Include /srv/via-proxy/ssl.conf
330
331         ServerName www.cairn.info.p.vbz.ffzg.hr
332
333         SSLProxyEngine on
334         ProxyAddHeaders Off
335
336         ProxyPass        / https://www.cairn.info/
337         ProxyPassReverse / https://www.cairn.info/
338
339         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
340         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
341
342         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
343 </VirtualHost>
344
345
346 <VirtualHost *:443>
347         Include /srv/via-proxy/ssl.conf
348
349         ServerName www.degruyter.com.p.vbz.ffzg.hr
350
351         SSLProxyEngine on
352         ProxyAddHeaders Off
353
354         ProxyPass        / https://www.degruyter.com/
355         ProxyPassReverse / https://www.degruyter.com/
356
357         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
358         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
359
360         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
361 </VirtualHost>
362
363
364 <VirtualHost *:443>
365         Include /srv/via-proxy/ssl.conf
366
367         ServerName www.emeraldinsight.com.p.vbz.ffzg.hr
368
369         SSLProxyEngine on
370         ProxyAddHeaders Off
371         ProxyPass        / https://www.emeraldinsight.com/
372         ProxyPassReverse / https://www.emeraldinsight.com/
373
374         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
375         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
376
377         Header edit* Location "http://emeraldgrouppublishing.com/" "https://emeraldgrouppublishing.com.p.vbz.ffzg.hr/"
378
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
389
390         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
391 </VirtualHost>
392 <VirtualHost *:443>
393         Include /srv/via-proxy/ssl.conf
394
395         ServerName www.emeraldgrouppublishing.com.p.vbz.ffzg.hr
396         ServerAlias emeraldgrouppublishing.com.p.vbz.ffzg.hr
397
398         # FIXME target server for www.emeraldgrouppublishing.com doesn't have that in SSL cert
399         #SSLProxyEngine on
400         ProxyAddHeaders Off
401         ProxyPass        / http://www.emeraldgrouppublishing.com/
402         ProxyPassReverse / http://www.emeraldgrouppublishing.com/
403
404         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
405         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
406
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
417
418         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
419 </VirtualHost>
420
421 <VirtualHost *:443>
422         Include /srv/via-proxy/ssl.conf
423
424         ServerName www.webofknowledge.com.p.vbz.ffzg.hr
425
426         SSLProxyEngine on
427         ProxyAddHeaders Off
428         ProxyPass        / https://www.webofknowledge.com/
429         ProxyPassReverse / https://www.webofknowledge.com/
430
431         Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
432
433         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
434         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
435
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
445 </VirtualHost>
446
447 <VirtualHost *:443>
448         Include /srv/via-proxy/ssl.conf
449
450         ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
451
452         SSLProxyEngine on
453         ProxyAddHeaders Off
454         ProxyPass        / https://apps.webofknowledge.com/
455         ProxyPassReverse / https://apps.webofknowledge.com/
456
457         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
458         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
459
460         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
461 </VirtualHost>
462
463
464 <VirtualHost *:443>
465         Include /srv/via-proxy/ssl.conf
466
467         ServerName www.jstor.org.p.vbz.ffzg.hr
468
469         SSLProxyEngine on
470         ProxyAddHeaders Off
471         ProxyPass        / https://www.jstor.org/
472         ProxyPassReverse / https://www.jstor.org/
473
474         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
475 #       Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
476
477         #Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
478         RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
479
480         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
481
482 #       Header set Access-Control-Allow-Origin "*"
483 #       Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"
484
485         # jstor expects
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
493         #
494
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"
498
499
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"
503
504         #ForensicLog /var/log/apache2/forensic-jstor.log
505
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
514
515 </VirtualHost>
516
517 <VirtualHost *:443>
518         Include /srv/via-proxy/ssl.conf
519
520         ServerName www.nature.com.p.vbz.ffzg.hr
521
522         SSLProxyEngine on
523         ProxyAddHeaders Off
524         ProxyPass        / https://www.nature.com/
525         ProxyPassReverse / https://www.nature.com/
526
527         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
528         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
529
530         Header edit* Location "https?://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
531
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
540
541         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
542 </VirtualHost>
543 <VirtualHost *:443>
544         Include /srv/via-proxy/ssl.conf
545
546         ServerName idp.nature.com.p.vbz.ffzg.hr
547
548         SSLProxyEngine on
549         ProxyAddHeaders Off
550         ProxyPass        / https://idp.nature.com/
551         ProxyPassReverse / https://idp.nature.com/
552
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"
556
557         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
558 </VirtualHost>
559
560
561 <VirtualHost *:443>
562         Include /srv/via-proxy/ssl.conf
563
564         ServerName www.palgrave.com.p.vbz.ffzg.hr
565
566 #DumpIOInput On
567 #DumpIOOutput On
568 #DumpIOLogLevel debug
569
570 #LogLevel debug
571
572         ProxyAddHeaders Off
573
574         SSLProxyEngine on
575         ProxyAddHeaders Off
576         ProxyPass        / https://www.palgrave.com/
577         ProxyPassReverse / https://www.palgrave.com/
578
579         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
580         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
581
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
593
594         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
595 </VirtualHost>
596
597 <VirtualHost *:443>
598         Include /srv/via-proxy/ssl.conf
599
600         ServerName www.springer.com.p.vbz.ffzg.hr
601
602         SSLProxyEngine on
603         ProxyAddHeaders Off
604         ProxyPass        / https://www.springer.com/
605         ProxyPassReverse / https://www.springer.com/
606
607         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
608         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
609
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
619
620         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
621 </VirtualHost>
622 <VirtualHost *:443>
623         Include /srv/via-proxy/ssl.conf
624
625         ServerName link.springer.com.p.vbz.ffzg.hr
626
627         # download links to pdf have %2F instead of / in them
628         AllowEncodedSlashes On
629         # this might need nocanon in ProxyPass too!
630
631         SSLProxyEngine on
632         ProxyAddHeaders Off
633         ProxyPass        / https://link.springer.com/
634         ProxyPassReverse / https://link.springer.com/
635
636         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
637         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
638
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
648
649         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
650 </VirtualHost>
651
652 <VirtualHost *:443>
653         Include /srv/via-proxy/ssl.conf
654
655         ServerName www.tandfonline.com.p.vbz.ffzg.hr
656
657         SSLProxyEngine on
658         ProxyAddHeaders Off
659         ProxyPass        / https://www.tandfonline.com/
660         ProxyPassReverse / https://www.tandfonline.com/
661
662         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
663         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
664
665         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
666 </VirtualHost>
667
668 <VirtualHost *:443>
669         Include /srv/via-proxy/ssl.conf
670
671         ServerName www.sciencedirect.com.p.vbz.ffzg.hr
672
673         SSLProxyEngine on
674         ProxyAddHeaders Off
675         ProxyPass        / https://www.sciencedirect.com/
676         ProxyPassReverse / https://www.sciencedirect.com/
677
678         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
679         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
680
681
682         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
683 </VirtualHost>
684
685 <VirtualHost *:443>
686         Include /srv/via-proxy/ssl.conf
687
688         ServerName www.scopus.com.p.vbz.ffzg.hr
689
690         SSLProxyEngine on
691         ProxyAddHeaders Off
692         ProxyPass        / https://www.scopus.com/
693         ProxyPassReverse / https://www.scopus.com/
694
695         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
696         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
697
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|"
705         FilterChain NEWPATHS
706
707         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
708 </VirtualHost>
709
710 <VirtualHost *:443>
711         Include /srv/via-proxy/ssl.conf
712
713         ServerName journals.bmj.com.p.vbz.ffzg.hr
714
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|"
723         FilterChain NEWPATHS
724
725         # fix all other plain http resources
726         RewriteEngine on
727         RewriteRule     /_rewrite_/(.*)/_path_/(.*)     http://$1.bmj.com/$2 [P,L]
728
729         #SSLProxyEngine on
730         ProxyAddHeaders Off
731         ProxyPass        / http://journals.bmj.com/
732         ProxyPassReverse / http://journals.bmj.com/
733
734         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
735         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
736
737         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
738 </VirtualHost>
739
740 <VirtualHost *:443>
741         Include /srv/via-proxy/ssl.conf
742
743         ServerName journals.bmj.com.p.vbz.ffzg.hr
744
745         #SSLProxyEngine on
746         ProxyAddHeaders Off
747         ProxyPass        / http://journals.bmj.com/
748         ProxyPassReverse / http://journals.bmj.com/
749
750         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
751         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
752
753         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
754 </VirtualHost>
755
756 <VirtualHost *:443>
757         Include /srv/via-proxy/ssl.conf
758
759         ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
760
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|"
768         FilterChain NEWPATHS
769
770         ProxyAddHeaders Off
771         ProxyPass        /_static_/ https://staticieeexplore.ieee.org/
772         ProxyPassReverse /_static_/ https://staticieeexplore.ieee.org/
773
774         # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
775         SSLProxyEngine on
776         ProxyPass        / https://ieeexplore.ieee.org/
777         ProxyPassReverse / https://ieeexplore.ieee.org/
778
779         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
780         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
781
782         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
783 </VirtualHost>
784
785 <VirtualHost *:443>
786         Include /srv/via-proxy/ssl.conf
787
788         ServerName jcr.incites.thomsonreuters.com.p.vbz.ffzg.hr
789
790         SSLProxyEngine on
791         ProxyAddHeaders Off
792         ProxyPass        / https://jcr.incites.thomsonreuters.com/
793         ProxyPassReverse / https://jcr.incites.thomsonreuters.com/
794
795         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
796         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
797
798         Header edit* Location "(https://.*.incites.thomsonreuters.com)/?(.*)" "$1.p.vbz.ffzg.hr/$2"
799
800
801         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
802 </VirtualHost>
803 <VirtualHost *:443>
804         Include /srv/via-proxy/ssl.conf
805
806         ServerName login.incites.thomsonreuters.com.p.vbz.ffzg.hr
807
808         SSLProxyEngine on
809         ProxyAddHeaders Off
810         ProxyPass        / https://login.incites.thomsonreuters.com/
811         ProxyPassReverse / https://login.incites.thomsonreuters.com/
812
813         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
814         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
815
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"
819
820         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
821 </VirtualHost>
822
823 <VirtualHost *:443>
824         Include /srv/via-proxy/ssl.conf
825
826         ServerName search.alexanderstreet.com.p.vbz.ffzg.hr
827
828         SSLProxyEngine on
829         ProxyAddHeaders Off
830         ProxyPass        / https://search.alexanderstreet.com/
831         ProxyPassReverse / https://search.alexanderstreet.com/
832
833         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
834         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
835
836         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
837 </VirtualHost>
838
839 <VirtualHost *:443>
840         Include /srv/via-proxy/ssl.conf
841
842         ServerName pubs.asha.org.p.vbz.ffzg.hr
843
844         SSLProxyEngine on
845         ProxyAddHeaders Off
846         ProxyPass        / https://pubs.asha.org/
847         ProxyPassReverse / https://pubs.asha.org/
848
849         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
850         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
851
852         Header edit* Location "https://leader.pubs.asha.org/" "https://leader.pubs.asha.org.p.vbz.ffzg.hr/"
853
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|"
862         FilterChain NEWPATHS
863
864         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
865 </VirtualHost>
866 <VirtualHost *:443>
867         Include /srv/via-proxy/ssl.conf
868
869         ServerName leader.pubs.asha.org.p.vbz.ffzg.hr
870
871         SSLProxyEngine on
872         ProxyAddHeaders Off
873         ProxyPass        / https://leader.pubs.asha.org/
874         ProxyPassReverse / https://leader.pubs.asha.org/
875
876         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
877         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
878
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|"
887         FilterChain NEWPATHS
888
889         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
890 </VirtualHost>
891
892
893
894
895 NameVirtualHost *:443
896
897 <VirtualHost *:443>
898         Include /srv/via-proxy/ssl.conf
899
900         DocumentRoot /srv/via-proxy
901         <Directory /srv/via-proxy/>
902                 Require all granted
903         </Directory>
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
907
908         ProxyAddHeaders Off
909
910         #ForensicLog /var/log/apache2/forensic-p.vbz.ffzg.hr.log
911
912         ProxyPass        /mjesec/ http://mjesec.ffzg.hr/
913         ProxyPassReverse /mjesec/ http://mjesec.ffzg.hr/
914
915         RequestHeader edit* Referer "//(.*)(?i:\.p\.vbz\.ffzg\.hr)" "//$1$2"
916
917         ProxyPass        /via/ http://via.rot13.org/
918         ProxyPassReverse /via/ http://via.rot13.org/
919 </VirtualHost>
920
921 <VirtualHost *:80>
922         DocumentRoot /srv/via-proxy
923         <Directory /srv/via-proxy/>
924                 Require all granted
925         </Directory>
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
929
930         Redirect / https://p.vbz.ffzg.hr
931
932 </VirtualHost>
933