LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   redirect non latin urls (http://www.litespeedtech.com/support/forum/showthread.php?t=3178)

gschultz 07-14-2009 09:14 PM

redirect non latin urls
 
I want to redirect requests like

Code:

www.domain.tld/art%C3%ADculos
to the ASCII version:

Code:

www.domain.tld/articulos
I tried to resolve the problem by using
Code:

    <context>
      <type>redirect</type>
      <uri>/art%C3%ADculos</uri>
      <externalRedirect>1</externalRedirect>
      <statusCode>301</statusCode>
      <location>/articulos</location>
      <note></note>
      <allowOverride></allowOverride>
      <realm></realm>
      <authName></authName>
      <required></required>
      <accessControl>
        <allow></allow>
        <deny></deny>
      </accessControl>
      <authorizer></authorizer>
    </context>

but didn't succeed.

Suggestions are welcome.

gschultz 07-15-2009 10:00 PM

encoding problem?
 
I found that this is working

<rewrite>
<enable>1</enable>
<logLevel>0</logLevel>
<rules>RewriteRule ^/?art&Atilde;culos/(.*)$ articulos/$1 [R=301,L]</rules>
</rewrite>

Is there a problem with LiteSpeed config files encoding?

mistwang 07-18-2009 07:47 PM

How about directly edit the configuration file? Does it work?
We do need to improve the multi-language support in LSWS console.


All times are GMT -7. The time now is 02:15 AM.