apache rewrite rule can't output "?" as argument -


i added apache rewrite rule convert static static url php url, miss output after question mark.

for example:

rewriterule test/([^/]+)/([^/]+)/([^/]+) 48/thread.php?tid=123 [l]

but seems every time when input http://www.exmple.com/new_sr/test/hi/1d62c59da779043b2f6bda467fdae41a/

i url

/new_sr/48/thread.php

but expect url

48/thread.php?tid=123

"?tid=123" discarded.

why? thanks.

try this,

rewriterule test/([^/]*)/([^/]*)/([^/]*) 48/thread.php?tid=123 [l] 

btw, can test rules in link: http://martinmelin.se/rewrite-rule-tester/


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -