1 # ./add-provider.pl www.loebclassics.com
4 Include /srv/via-proxy/ssl.conf
6 ServerName www.loebclassics.com.p.vbz.ffzg.hr
10 #RewriteRule /common/javascript/extjs/ext-all.js https://www.loebclassics.com/common/javascript/extjs/ext-all.js [R,L]
14 ProxyPass / https://www.loebclassics.com/
15 ProxyPassReverse / https://www.loebclassics.com/
17 Header edit* Set-Cookie "(.*)(?i:; *domain=)([^;]+)(.*)" "$1 ; domain=$2.p.vbz.ffzg.hr $3"
18 #Header edit* Set-Cookie "(.*)(?i:; *secure)" "$1"
19 # if there are problems, remove traling /
20 Header edit* Location "https://www.loebclassics.com/" "https://www.loebclassics.com.p.vbz.ffzg.hr/"
22 RequestHeader unset Accept-Encoding
23 Substitute "s|https://www.loebclassics.com|https://www.loebclassics.com.p.vbz.ffzg.hr|"
25 FilterDeclare NEWPATHS
26 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/html|"
27 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/css|"
28 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^text/javascript|"
29 FilterProvider NEWPATHS SUBSTITUTE "%{Content_Type} =~ m|^application/javascript|"
32 CustomLog /var/log/apache2/access-p.vbz.ffzg.hr.log vhost_combined
36 ## add domains to SSL certificate:
37 # www.loebclassics.com.p.vbz.ffzg.hr