Need help at RewriteRule, plz

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

Need help at RewriteRule, plz

Postby wolkenkrieger » Sun Jun 20, 2010 6:45 pm

I have installed this mod: http://translate.stream-radio.com/de/vi ... hp?f=2&t=3 (Automatic translation)

The install instruction says, that the following RewriteRules have to write into the .htaccess:

Code: Select all
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ index.php?lang=$1 [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ $2?lang=$1 [L,QSA]


If i do this, then my board will be trapped in an endless loop and the apache kills the process.

Please help :oops:
wolkenkrieger
PR0
PR0
 
Posts: 77
Joined: Sat Nov 03, 2007 4:49 pm

Advertisement

Re: Need help at RewriteRule, plz

Postby wolkenkrieger » Tue Sep 28, 2010 9:48 am

Does anyone can help me, please?

The mod can also be find here: http://www.phpbb.com/community/viewtopi ... &t=1893135

There will be necessary some changes to the htaccess, i think.

Tank you :)
wolkenkrieger
PR0
PR0
 
Posts: 77
Joined: Sat Nov 03, 2007 4:49 pm


Return to phpBB mod Rewrite

Who is online

Users browsing this forum: Google [Bot] and 14 guests