| Advertise on warmetal.nl! Click for more information about advertising here. |
Did you find this website useful? Did I save you a lot of time? |
|
Uncomment the following line:
LoadModule rewrite_module modules/rewrite.nlm
Now add the following lines to the end of the file as they appear below (no modification needed). This will cause all requests on port 80 to /servlet/webacc to be redirected to https://servername/url.
<VirtualHost _default_:80>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^\/servlet\/webacc
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
</VirtualHost>
For GroupWise 7:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^\/gw\/webacc
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
Restart apache after the file has been saved:
Discussion