Novell Home

Redirecting GW Users to the WebAccess Page

Novell Cool Solutions: Tip
By Rob Aronson

Digg This - Slashdot This

Posted: 7 Feb 2006
 

Problem

GroupWise 7 changed the URL for webaccess from /servlet/webacc to /gw/webacc. I wanted to automatically redirect my users to the new page.

Solution

I adapted the syntax from TID 10016636 for redirecting GroupWise to SSL. My script redirects both http and https requests to https at the same time.

Example

<VirtualHost 10.1.3.6:443>
    DocumentRoot SYS:apache2/htdocs
     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^\/servlet\/webacc
     RewriteRule ^/(.*) https://%{SERVER_NAME}/gw/webacc [L,R]
</VirtualHost>
<VirtualHost _default_:80>
     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^\/servlet\/webacc
     RewriteRule ^/(.*) https://%{SERVER_NAME}/gw/webacc [L,R]
</VirtualHost>

Note: This solution was tested with Apache 2 on OES NetWare.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell