Msg#: 4419963 posted 3:28 pm on Feb 21, 2012 (gmt 0)
So we meet again ! Yep, I looked at this, but have not seen how to use it in this context. Here is what I tried to do : RewriteCond %(http_host) ^en\.example\.com [nc] RewriteRule ^english-page.php$ ./mypage.php?lang=en [L]
As you can probably see straight away, this doesn't work. Can you help me any further ... please ?
Dealing with requests that are supposed to work is the easy part. But if you're rewriting you also have to deal with requests that are not supposed to work. Nothing fancy, just make sure they end up with a 404 rather than a 500 or an infinite-redirect loop.
"It is impossible to make things foolproof, because fools are so ### ingenious." But you need to try.