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 Quote Link to comment 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? Quote Link to comment 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! Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.