8 <VirtualHost _default_:443>
9 ServerAdmin webmaster@localhost
10 ServerName dev.entrouvert.org.127.0.0.1.xip.io
11 DocumentRoot /var/www/
13 SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
14 SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
16 CustomLog /var/log/apache2/mandayejs-access.log combined
17 ErrorLog /var/log/apache2/mandayejs-error.log
22 SSLProxyCheckPeerCN off
23 SSLProxyCheckPeerName off
25 ProxyPass /_mandaye/ http://localhost:8000/_mandaye/
26 ProxyPassReverse /_mandaye/ http://localhost:8000/_mandaye/
28 RequestHeader unset Accept-Encoding
30 ProxyPass / https://dev.entrouvert.org/
31 ProxyPassReverse / https://dev.entrouvert.org/
33 ExtFilterDefine fixtext mode=output intype=text/html \
34 cmd="/bin/sed -e '\$a<script type=\"text/javascript\" src=\"/_mandaye/static/mandaye.js\"></script>'"
37 SetOutputFilter fixtext