mentos Posted July 23, 2007 Share Posted July 23, 2007 Greetings, I'm facing some difficulty in rewriting rules for some non latin chars. I'm greek and so all characters are different and no matter what I tried so far I couldn't get it to work. At www.regular-expressions.info there is a reference according to which if I apply "\w" all characters will be selected as in the image shown below but when i try to enter any greek chars i get "Not found". I also tried (.*) but nothing there.... has anyone worked with non-latin chars in this matter? tnx in advance, Giannis Link to comment https://forums.phpfreaks.com/topic/61431-rewrite-rules-for-non-latin-characters/ Share on other sites More sharing options...
effigy Posted July 23, 2007 Share Posted July 23, 2007 \w changes based on your locale; what is Apache operating under? Link to comment https://forums.phpfreaks.com/topic/61431-rewrite-rules-for-non-latin-characters/#findComment-305735 Share on other sites More sharing options...
mentos Posted July 24, 2007 Author Share Posted July 24, 2007 hey thanx for the reply my local server works under PHP5, Apache2, MySQL 5, winXP SP2 (english) with activated settings for GREEK non latin fonts, while thelive server works under RED HAT with PHP5, Apache2, MySQL 5. The changes have to be made in apache config or at the OS settings? tnx again! Link to comment https://forums.phpfreaks.com/topic/61431-rewrite-rules-for-non-latin-characters/#findComment-306095 Share on other sites More sharing options...
effigy Posted July 24, 2007 Share Posted July 24, 2007 In the OS I believe. I couldn't find anything in regards to modifying mod_rewrite's locale, so I'm assuming it uses Apache's locale, which is inherited from the environment of the shell which created it. Link to comment https://forums.phpfreaks.com/topic/61431-rewrite-rules-for-non-latin-characters/#findComment-306575 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.