[OGo-Users] Apache mod_rewrite loadbalancing breaks external links in OGo webui

Samuli Seppanen users@opengroupware.org
Tue, 12 Jun 2007 11:29:21 +0300


We noticed that when we use Apache mod_rewrite to distribute requests to 
several different ogo-webui instances on different ports, external links 
no longer work in the webui. OGo just opens a new window with message 
"Could not perform request".  The external link looks the same on the 
loadbalanced OGo and on a stock OGo install without any load balancing. 
We are using SSL-virtual hosts.

Following error messages pop up in the logs:

ogo-err:Jun 05 08:52:48 ogo-webui-1.0 [22237]: >WODirectAction> 
DirectAction class WODirectAction cannot handle action 
viewExternalLinkAction

It is possible to work around this problem by creating a custom 
SkyExternalLinkAction script, but it would be much nicer if we could 
find the real cause and fix the problem.

Example of the mod_rewrite rules in question:

RewriteRule ^/(OpenGroupware.*)$ /${ogo:OpenGroupware}/$1 [R,L]
RewriteRule ^/(ogo-webui-1.0.*)$ /${ogo:OpenGroupware}/$1 [R,L]

The $1 is of course the randomized port number.

Any ideas?