Quote:
Originally Posted by Spiral
On the contrary, both of of those blocks will work just fine although
the first block of code you wrote above is technically more accurate as
it is using properly quoted strings and standard escaped characters
although the second block of commands you wrote without the escaped
characters or quoting will generally work just as well as most servers will
often just assume escapes and quotes where needed.
|
I'm afraid you are incorrect.
The addittion of the slashes to escape the characters in the rewrite rule causes this problem. While to you this might look correct in theory, in practice is just doesnt work on many cpanel servers. We have this exact problem on many of our servers using apache 2.2 and all we can do is remove the slashes when a customer complains the redirect didnt work.
I accept that this may be an issue with mod_rewrite on apache 2.2 but you are basically saying "there isnt a problem" when in reality there is.