LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > redirect non latin urls

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2009, 09:14 PM
gschultz gschultz is offline
Member
 
Join Date: Oct 2008
Posts: 13
Default 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.

Last edited by gschultz; 07-14-2009 at 09:16 PM.. Reason: non latin characters cropped
Reply With Quote
  #2  
Old 07-15-2009, 10:00 PM
gschultz gschultz is offline
Member
 
Join Date: Oct 2008
Posts: 13
Default 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?

Last edited by gschultz; 07-15-2009 at 10:02 PM.. Reason: non latin charactes break the post
Reply With Quote
  #3  
Old 07-18-2009, 07:47 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
How about directly edit the configuration file? Does it work?
We do need to improve the multi-language support in LSWS console.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.