Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Currently, I have this configuration in mod_rewrite in apache:

RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^([a-zA-Z]{2,3})/?$ /index.html?wtsLang=$1 [L]
RewriteRule ^([a-zA-Z]{2,3})/([a-zA-Z_-](.+)\.html)$ /$2?wtsLang=$1 [L]

It works well for all languages except Chinese (specifically zh-TW and zh-CN). What is needed to localize it?

share|improve this question
    
So someone might be able to help you out, what version of apache are you running? I've assumed it's 2.x when retagging. Also, when you say it doesn't work, what does it do instead? –  Falcon Momot May 22 '13 at 8:57
    
What do you mean with "does not work for Chinese". Are you referring to URLs in Chinese characters? Can you give an example of a URL that you expect the rule to match, but that doesn't? –  Krist van Besien May 22 '13 at 13:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.