I have been researching on this problem, and I discovered that when the php
handler, the encoding is set to allos gzip compression, the multilingual
content does not work!
So my solution at last, and for having all the redirections working, is the
following:

Uncheck php gzip compression in php encoding.
Modify the regex rules in default handles such as:


FROM /(.*)\?(.*)$    ->    /index.php?q=/$1&$2

TO ^/(.*)\?(.*)$    ->    /index.php?q=$1&$2

and
FROM: /(.*)$ -> /index.php?q=/$1

TO: ^/(.*)$ -> /index.php?q=$1

Hope this helps to drupal users.


On Sat, Oct 17, 2009 at 8:21 PM, David Becerril <[email protected]> wrote:

> I reported some time ago a bug in the Drupal wizard, which generated bad
> redirection rules for multilingual sites.
> I solved it by doing the following
> Removed in the "default" behavior the internal redirection given by
>
> /(.*)\?(.*)$    ->    /index.php?q=/$1&$2
>
>
> and changed the other expresion from
>   /(.*)$ -> /index.php?q=/$1
> to
>  ^/(.*)$ -> /index.php?q=$1
>
> I am not sure if this will work for every setup buf for now, it worked for
> me in a multilingual site.
>
> Regards.
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to