mod_rewrite to utf8 url

    Date: 01/20/06 (Apache)    Keywords: php, software

    My site's software produces and handles urls in the form

    http://www.wikiznanie.ru/wiki/index.php/xxx

    (the translation from the form above into http://www.wikiznanie.ru/wiki/index.php?title=xxx is transparent)

    Now what I need is when a vistor ask for a root document - he gets the same page as http://www.wikiznanie.ru/wiki/index.php/xyz without any redirects (internal or external). The problem is tha xyz - is actually a utf-8 url-encoded string and when I use the rule

    RewriteRule ^/$ /index.php/%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_ [PT,NE]

    the resulting requested page (utf8) url is distorded.

    What should I do? Is there a way to get through mod_rewrite with an utf-8 url-encoded string in it's original form?

    Source: http://community.livejournal.com/apache/29480.html

« Apache's connections || still having problems with... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home