I’m messing a fair bit with Lotus Connections these days as I’m configuring Lotus Connections 2.0 beta 2 at the office. Lotus Connections 2.0 comes with six features as a new Homepage feature has been added. By default you configure each of the six features with a separate server path that is /activities, /homepage etc. This means that the users have to explicitly state which feature to access from the get-go (e.g. http://lc.example.com/homepage). What I really wanted was for the Homepage feature to display whenever the user surfed to the “base url” (http://lc.example.com).
This is actually quite easy as Websphere uses IBM HTTP Server which is a fork of the standard Apache server. This means that IHS ships with the mod_rewrite module which allows you to do URL rewriting.
The steps are as follows:
- Edit the conf/httpd.conf file.
- Enable mod_rewrite by removing the # character in front of
“LoadModule rewrite_module modules/mod_rewrite.so”.
- At the bottom of the file add the following:
<IfModule mod_rewrite.c> RewriteEngine on RewriteLog logs/rewrite_log.log RewriteLogLevel 0 RewriteRule ^/?$ /homepage [PT,L] </IfModule>
- Restart IHS.
3 thoughts on “mod_rewrite for Lotus Connections”
I’ll grant that this is reasonably easy to do, but this should be a checkbox on installation, really. Or at least one line for a "baseurl" in an XML config file.
Agree. I just posted that exact same thing to the beta forum 😉
at least it made it into the infocenter 🙂
Comments are closed.