| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
escaping . and? characters in the url
| 9:29 pm on Aug 18, 2006 (gmt 0)|
I have the rewrite rule:
RewriteRule ^run(.+) /example.php?$1 [L]
this will do fine with:
(it rewrites to: [domain.com...]
but I want it to work with the following url:
I thought I could just escape the . and? with backslashes to make this work:
RewriteRule ^run\.cgi\?(.+) /example.php?$1 [L]
But that always produces errors. Does anyone know how can I do this?
| 9:42 pm on Aug 18, 2006 (gmt 0)|
See this recent thread: [webmasterworld.com...]
For more information, check out Changing dynamic URLs to static URLs [webmasterworld.com] in our forum library.
| 9:48 pm on Aug 18, 2006 (gmt 0)|
Thanks very much for the thread reference. Checked that out and got it working. A huge help.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved