Mer information om alla Apache2 inställningar finns på http://httpd.apache.org/docs/.
/etc/apache2/vhosts.d/mydomain.conf
-------------------------------------------
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
ServerName www.mydomain.se
...
# Redirect all http requests to https
Redirect 301 /pentaho https://www.mydomain.se/pentaho/
...
</VirtualHost>
<VirtualHost *:443>
ServerName www.mydomain.se
SSLEngine on
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
...
// Pass all Pentaho requests to Tomcat via ajp
ProxyPass /pentaho ajp://127.0.0.1:8009/pentaho
ProxyPassReverse /pentaho ajp://127.0.0.1:8009/pentaho
ProxyPass /pentaho-style ajp://127.0.0.1:8009/pentaho-style
ProxyPassReverse /pentaho-style ajp://127.0.0.1:8009/pentaho-style
...
</VirtualHost>
Inga kommentarer:
Skicka en kommentar