Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Redirecting dynamic pages


jdMorgan - 11:31 pm on Jan 31, 2006 (gmt 0)


Try

RewriteCond %{QUERY_STRING} ^q=16\+0001

or

RewriteCond %{QUERY_STRING} ^q=16\%2b0001

The "=" does not need to be escaped. However, the "+" does need to be escaped if it appears as a literal.

Additionally, "+" may appear as an encoded entity in the query string, in which case it will match "%2b". I showed both cases, since I'm not sure how it appears inside %{QUERY_STRING} (please let us know!).

Jim


Thread source:: http://www.webmasterworld.com/apache/5461.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com