On Apr 11, 2012, at 8:51 AM, Bruno Lingner (Hugo) wrote:
> 
> hi
> 
> we experimented a lot since the daylight saving time with sogo and calendar 
> clients that display the events in the wrong timezone. we finally narrowed 
> down the problem and solved it through a rewrite rule in the apache config:
> 
>    RequestHeader unset Accept-Encoding
> 
>    AddOutputFilterByType SUBSTITUTE text/calendar text/xml
>    Substitute 
> 's|^RRULE:([A-Z].+[A-Za-z0-9]);?FREQ=([A-Za-z]*);?(.*)$|RRULE:FREQ=$2;$1$3|'

Interesting... I try adding this to my VirtualHost and apache won't start up... 
The following error is logged in httpd error_log:

Syntax error on line 778 of /etc/httpd/conf/httpd.conf:
Invalid command 'Substitute', perhaps misspelled or defined by a module not 
included in the server configuration

What module needs loading for the 'Substitute' command? This is a CentOS 5.x 
installation (SmeServer).

Thanks;
Jeff-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to