3637ad3d0b44db49fdf22d14fad24dedf15b33c1
[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         ProxyPass / https://muse.jhu.edu/
9         ProxyPassReverse / https://muse.jhu.edu/
10         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
11         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
12         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
13 </VirtualHost>
14
15 # a2enmod proxy_http proxy_html xml2enc headers
16
17 # https://www.oclc.org/support/services/ezproxy/documentation/db/cambridgecore.en.html
18
19 <VirtualHost *:443>
20         Include /srv/via-proxy/ssl.conf
21
22         ServerName www.cambridge.org.p.vbz.ffzg.hr
23         SSLProxyEngine on
24         ProxyAddHeaders Off
25         ProxyPass / https://www.cambridge.org/
26         ProxyPassReverse / https://www.cambridge.org/
27         #ProxyPassReverseCookieDomain www.cambridge.org www.cambridge.org.p.vbz.ffzg.hr
28         #ProxyPassReverseCookieDomain cambridge.org cambridge.org.p.vbz.ffzg.hr
29         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
30         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
31
32         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
33
34         #ProxyHTMLLogVerbose On
35         LogLevel Debug
36
37         #SetOutputFilter        INFLATE;DEFLATE
38         RequestHeader unset Accept-Encoding
39
40         ProxyRequests off
41
42 #       ProxyHTMLEnable On
43 #       ProxyHTMLExtended On
44 #       ProxyHTMLURLMap http://www.cambridge.org /
45
46 # a2enmod substitute
47 Substitute "s|http://www.cambridge.org/|/|n"
48 Substitute "s|https://www.cambridge.org/|/|n"
49 FilterDeclare NEWPATHS
50 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
51 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
52 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
53 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
54 FilterChain NEWPATHS
55
56 </VirtualHost>
57
58 <VirtualHost *:443>
59         Include /srv/via-proxy/ssl.conf
60
61         ServerName search.proquest.com.p.vbz.ffzg.hr
62         SSLProxyEngine on
63         ProxyPass / https://search.proquest.com/
64         ProxyPassReverse / https://search.proquest.com/
65
66         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
67         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
68
69 RequestHeader unset Accept-Encoding
70 Substitute "s|https://search.proquest.com/|/|n"
71 FilterDeclare NEWPATHS2
72 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
73 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
74 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
75 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
76 FilterChain NEWPATHS2
77
78         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
79 </VirtualHost>
80
81 <VirtualHost *:443>
82         Include /srv/via-proxy/ssl.conf
83
84         ServerName academic.oup.com.p.vbz.ffzg.hr
85         SSLProxyEngine on
86         ProxyPass        / https://academic.oup.com/
87         ProxyPassReverse / https://academic.oup.com/
88
89         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
90         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
91
92         RequestHeader unset Accept-Encoding
93
94 Substitute "s|https://academic.oup.com/|/|n"
95 FilterDeclare NEWPATHS2
96 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
97 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
98 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
99 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
100 FilterChain NEWPATHS2
101
102         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
103 </VirtualHost>
104
105 # https://www.oclc.org/support/services/ezproxy/documentation/db/ovid.en.html
106 <VirtualHost *:443>
107         Include /srv/via-proxy/ssl.conf
108
109         ServerName ovidsp.tx.ovid.com.p.vbz.ffzg.hr
110         SSLProxyEngine on
111         ProxyPass        / https://ovidsp.tx.ovid.com/
112         ProxyPassReverse / https://ovidsp.tx.ovid.com/
113
114         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
115         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
116
117         RequestHeader unset Accept-Encoding
118
119 Substitute "s|https://ovidsp.tx.ovid.com/|/|n"
120 FilterDeclare NEWPATHS2
121 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
122 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
123 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
124 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
125 FilterChain NEWPATHS2
126
127         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
128 </VirtualHost>
129
130 <VirtualHost *:443>
131         Include /srv/via-proxy/ssl.conf
132
133         ServerName onlinelibrary.wiley.com.p.vbz.ffzg.hr
134         SSLProxyEngine on
135
136         ProxyPass        / https://onlinelibrary.wiley.com/
137         ProxyPassReverse / https://onlinelibrary.wiley.com/
138
139         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
140         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
141
142         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
143 </VirtualHost>
144
145 <VirtualHost *:443>
146         Include /srv/via-proxy/ssl.conf
147
148         ServerName journals.sagepub.com.p.vbz.ffzg.hr
149
150         ProxyPass        / http://journals.sagepub.com/
151         ProxyPassReverse / http://journals.sagepub.com/
152
153         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
154         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
155
156         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
157 </VirtualHost>
158
159 <VirtualHost *:443>
160         Include /srv/via-proxy/ssl.conf
161
162         ServerName pubs.rsc.org.p.vbz.ffzg.hr
163
164         # FIXME -- this doesn't work behind https!
165         ProxyPass        / http://pubs.rsc.org/
166         ProxyPassReverse / http://pubs.rsc.org/
167
168         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
169         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
170
171         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
172 </VirtualHost>
173
174
175 <VirtualHost *:443>
176         Include /srv/via-proxy/ssl.conf
177
178         ServerName www.brepolis.net.p.vbz.ffzg.hr
179
180         ProxyPass        / http://www.brepolis.net/
181         ProxyPassReverse / http://www.brepolis.net/
182
183         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
184         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
185
186         RequestHeader unset Accept-Encoding
187
188 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
189 FilterDeclare NEWPATHS2
190 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
191 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
192 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
193 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
194 FilterChain NEWPATHS2
195
196         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
197 </VirtualHost>
198 <VirtualHost *:443>
199         Include /srv/via-proxy/ssl.conf
200
201         ServerName apps.brepolis.net.p.vbz.ffzg.hr
202
203         ProxyPass        / http://apps.brepolis.net/
204         ProxyPassReverse / http://apps.brepolis.net/
205
206         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
207         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
208
209         RequestHeader unset Accept-Encoding
210
211 Substitute "s|http://apps.brepolis.net/|https://apps.brepolis.net.p.vbz.ffzg.hr/|n"
212 FilterDeclare NEWPATHS2
213 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
214 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
215 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
216 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
217 FilterChain NEWPATHS2
218         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
219 </VirtualHost>
220
221
222 <VirtualHost *:443>
223         Include /srv/via-proxy/ssl.conf
224
225         ServerName www.cairn.info.p.vbz.ffzg.hr
226
227         SSLProxyEngine on
228         ProxyPass        / https://www.cairn.info/
229         ProxyPassReverse / https://www.cairn.info/
230
231         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
232         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
233
234         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
235 </VirtualHost>
236
237
238 <VirtualHost *:443>
239         Include /srv/via-proxy/ssl.conf
240
241         ServerName www.degruyter.com.p.vbz.ffzg.hr
242
243         SSLProxyEngine on
244         ProxyPass        / https://www.degruyter.com/
245         ProxyPassReverse / https://www.degruyter.com/
246
247         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
248         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
249
250         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
251 </VirtualHost>
252
253
254 <VirtualHost *:443>
255         Include /srv/via-proxy/ssl.conf
256
257         ServerName www.emeraldinsight.com.p.vbz.ffzg.hr
258
259         SSLProxyEngine on
260         ProxyPass        / https://www.emeraldinsight.com/
261         ProxyPassReverse / https://www.emeraldinsight.com/
262
263         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
264         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
265
266         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
267 </VirtualHost>
268
269 <VirtualHost *:443>
270         Include /srv/via-proxy/ssl.conf
271
272         ServerName www.webofknowledge.com.p.vbz.ffzg.hr
273
274         SSLProxyEngine on
275         ProxyPass        / https://www.webofknowledge.com/
276         ProxyPassReverse / https://www.webofknowledge.com/
277
278         Header edit* Location "(https://apps.webofknowledge.com)/(.*)" "https://apps.webofknowledge.com.p.vbz.ffzg.hr/$2"
279
280         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
281         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
282
283 RequestHeader unset Accept-Encoding
284 Substitute "s|https://apps.webofknowledge.com/|https://apps.webofknowledge.com.p.vbz.ffzg.hr/|n"
285 FilterDeclare NEWPATHS2
286 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
287 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
288 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
289 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
290 FilterChain NEWPATHS2
291         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
292 </VirtualHost>
293 <VirtualHost *:443>
294         Include /srv/via-proxy/ssl.conf
295
296         ServerName apps.webofknowledge.com.p.vbz.ffzg.hr
297
298         SSLProxyEngine on
299         ProxyPass        / https://apps.webofknowledge.com/
300         ProxyPassReverse / https://apps.webofknowledge.com/
301
302         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
303         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
304
305         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
306 </VirtualHost>
307
308
309 <VirtualHost *:443>
310         Include /srv/via-proxy/ssl.conf
311
312         ServerName www.jstor.org.p.vbz.ffzg.hr
313
314         #SSLProxyEngine on
315         # download pdf doesn't work if we use https://www.jstor.org !
316         ProxyPass        / http://www.jstor.org/
317         ProxyPassReverse / http://www.jstor.org/
318
319         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
320         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
321
322 #       Header edit* Referer "http://(.*)(?i:\.p\.vbz\.ffzg\.hr)" "https://$1$2"
323
324         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
325
326         #Header add Access-Control-Allow-Origin ''
327         #Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type"
328
329         #Header always set Access-Control-Allow-Origin "*"
330         #Header always set Access-Control-Max-Age "1000"
331         #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
332
333
334         # OCLC has special case for this header
335 #       SetEnvIf X-Requested-With (.*) saved_x_requested_with=$1
336 #       RequestHeader set X-Requested-With "%{saved_x_requested_with}e"
337
338         #ForensicLog /var/log/apache2/forensic.log
339
340 #RequestHeader unset Accept-Encoding
341 #Substitute "s|http://www.jsor.org/|http://www.jstor.org.p.vbz.ffzg.hr/|n"
342 #FilterDeclare NEWPATHS2
343 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
344 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
345 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
346 #FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
347 #FilterChain NEWPATHS2
348
349 </VirtualHost>
350
351 <VirtualHost *:443>
352         Include /srv/via-proxy/ssl.conf
353
354         ServerName www.nature.com.p.vbz.ffzg.hr
355
356         SSLProxyEngine on
357         ProxyPass        / https://www.nature.com/
358         ProxyPassReverse / https://www.nature.com/
359
360         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
361         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
362
363         Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
364
365 RequestHeader unset Accept-Encoding
366 Substitute "s|http://www.nature.com/|https://www.nature.com.p.vbz.ffzg.hr/|n"
367 FilterDeclare NEWPATHS2
368 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
369 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
370 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
371 FilterProvider NEWPATHS2 SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
372 FilterChain NEWPATHS2
373
374         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
375 </VirtualHost>
376 <VirtualHost *:443>
377         Include /srv/via-proxy/ssl.conf
378
379         ServerName idp.nature.com.p.vbz.ffzg.hr
380
381         SSLProxyEngine on
382         ProxyPass        / https://idp.nature.com/
383         ProxyPassReverse / https://idp.nature.com/
384
385         Header edit* Location "https://([^/]*.nature.com)/" "https://$1.p.vbz.ffzg.hr/"
386         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;][^;]+);" "$1 ; domain=$2.p.vbz.ffzg.hr;"
387         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
388
389         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
390 </VirtualHost>
391
392
393 <VirtualHost *:443>
394         Include /srv/via-proxy/ssl.conf
395
396         ServerName www.palgrave.com.p.vbz.ffzg.hr
397
398         SSLProxyEngine on
399         ProxyPass        / https://www.palgrave.com/
400         ProxyPassReverse / https://www.palgrave.com/
401
402         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
403         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
404
405         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
406 </VirtualHost>
407
408 <VirtualHost *:443>
409         Include /srv/via-proxy/ssl.conf
410
411         ServerName link.springer.com.p.vbz.ffzg.hr
412
413         SSLProxyEngine on
414         ProxyPass        / https://link.springer.com/
415         ProxyPassReverse / https://link.springer.com/
416
417         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
418         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
419
420         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
421 </VirtualHost>
422
423 <VirtualHost *:443>
424         Include /srv/via-proxy/ssl.conf
425
426         ServerName www.tandfonline.com.p.vbz.ffzg.hr
427
428         SSLProxyEngine on
429         ProxyPass        / https://www.tandfonline.com/
430         ProxyPassReverse / https://www.tandfonline.com/
431
432         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
433         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
434
435         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
436 </VirtualHost>
437
438 <VirtualHost *:443>
439         Include /srv/via-proxy/ssl.conf
440
441         ServerName www.sciencedirect.com.p.vbz.ffzg.hr
442
443         SSLProxyEngine on
444         ProxyPass        / https://www.sciencedirect.com/
445         ProxyPassReverse / https://www.sciencedirect.com/
446
447         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
448         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
449
450
451         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
452 </VirtualHost>
453
454 <VirtualHost *:443>
455         Include /srv/via-proxy/ssl.conf
456
457         ServerName www.scopus.com.p.vbz.ffzg.hr
458
459         SSLProxyEngine on
460         ProxyPass        / https://www.scopus.com/
461         ProxyPassReverse / https://www.scopus.com/
462
463         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
464         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
465
466         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
467 </VirtualHost>
468
469 <VirtualHost *:443>
470         Include /srv/via-proxy/ssl.conf
471
472         ServerName journals.bmj.com.p.vbz.ffzg.hr
473
474         #SSLProxyEngine on
475         ProxyPass        / http://journals.bmj.com/
476         ProxyPassReverse / http://journals.bmj.com/
477
478         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
479         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
480
481         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
482 </VirtualHost>
483
484 <VirtualHost *:443>
485         Include /srv/via-proxy/ssl.conf
486
487         ServerName journals.bmj.com.p.vbz.ffzg.hr
488
489         #SSLProxyEngine on
490         ProxyPass        / http://journals.bmj.com/
491         ProxyPassReverse / http://journals.bmj.com/
492
493         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
494         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
495
496         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
497 </VirtualHost>
498
499 <VirtualHost *:443>
500         Include /srv/via-proxy/ssl.conf
501
502         ServerName ieeexplore.ieee.org.p.vbz.ffzg.hr
503
504         # IEEE Xplore is transitioning to HTTPS on 9 April 2018.
505         #SSLProxyEngine on
506         ProxyPass        / http://ieeexplore.ieee.org/
507         ProxyPassReverse / http://ieeexplore.ieee.org/
508
509         Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
510         Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
511
512         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
513 </VirtualHost>
514
515 NameVirtualHost *:443
516
517 <VirtualHost *:443>
518         Include /srv/via-proxy/ssl.conf
519
520         DocumentRoot /srv/via-proxy
521         <Directory /srv/via-proxy/>
522                 Require all granted
523         </Directory>
524         ServerName p.vbz.ffzg.hr
525         ServerAlias *.p.vbz.ffzg.hr
526         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
527
528 </VirtualHost>
529
530 <VirtualHost *:80>
531         DocumentRoot /srv/via-proxy
532         <Directory /srv/via-proxy/>
533                 Require all granted
534         </Directory>
535         ServerName p.vbz.ffzg.hr
536         ServerAlias *.p.vbz.ffzg.hr
537         CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
538
539         Redirect / https://p.vbz.ffzg.hr
540
541 </VirtualHost>
542