[OGo-Users] mod rewrite rules with apache 2

Sebastian Reitenbach users@opengroupware.org
Mon, 04 Feb 2008 11:20:41 +0100


Hi,

I try to fix this bug:
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1334
with using the rewite rules mentioned there. 

  RewriteEngine On
  RewriteCond %{QUERY_STRING} ^(.*)amp;(.*)amp;(.*)amp;(.*)$
  RewriteRule ^/(.*)$ $1?%1%2%3%4      [NE,R,L]
  RewriteCond %{QUERY_STRING} ^(.*)amp;(.*)amp;(.*)$
  RewriteRule ^/(.*)$ $1?%1%2%3      [NE,R,L]

I know they are working for me on OpenBSD with apache 1.3. When I use these 
on suse, and click on a next button in the mail, it ends up in the following 
url:
https://mydomain/^/OpenGroupware*/srv/www/ogo/OpenGroupware.woa/x/SkyImapMailActions/viewImapMail?listName=MailList&url=imap%3A%2F%2F10.1.1.197%2FINBOX%2F41106&cid=1a747a6e27104f83818&wosid=7CB67CB65E47A6E0B3


I'm not much familar with mod_rewrite, any hint what might work better?

kind regards
Sebastian