Moderators: ScalixSupport, admin
Code: Select all
<VirtualHost *:80>
ServerAdmin <>
ServerName <>
RewriteEngine on
RewriteRule ^(.*) https://<>:443$1 [R,L]
</VirtualHost>
<VirtualHost *:443>
ServerAdmin <>
ServerName <>
ErrorLog logs/<>-error_log
CustomLog logs/<>-access_log common
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
SSLEngine on
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:!SSLv2
SSLCACertificateFile <>
SSLCertificateFile <>
SSLCertificateKeyFile <>
<Location />
SSLOptions +StdEnvVars
AddOutputFilterByType DEFLATE text/xml text/html text/css
AddOutputFilterByType DEFLATE application/x-javascript
Order Allow,Deny
Allow from all
</Location>
<IfModule mod_setenvif.c>
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
<IfModule mod_log_config.c>
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
Alias /mail /usr/share/squirrelmail
ProxyPass /api ajp://<>:8009/api
ProxyPass /m ajp://<>:8009/m
ProxyPass /sac ajp://<>:8009/sac
ProxyPass /webmail ajp://<>:8009/webmail
ProxyPass /Scalix http://<>/Scalix
ProxyPass /omhtml http://<>/omhtml
</VirtualHost>
Users browsing this forum: No registered users and 4 guests