Actions
Bug #843
closedbad rewrite
Status:
Invalid
Priority:
Normal
Category:
mod_rewrite
Target version:
-
ASK QUESTIONS IN Forums:
Description
Hello,
I am using this rewrite (simplified):
url.rewrite-once = ( "^/(.*)" => "/index.php?q=$1" )
when original URL is: {{{/script.php?foo=1&bar=2}}}
after dumping $_GET variables in index.php script I get only "bar=>2", but not "foo" and thats bug, please correct this.
/Brano
-- 2ge
Updated by jan over 18 years ago
Your rewrite is wrong:
if {{{ /script.php?foo=1&bar=2 }}} is the input, {{{ /index.php?q=/script.php?foo=1&bar=2 }}} will be the output.
I don't think that this is intended. Enable {{{ debug.log-request-handling = "enable" }}} to see how a URL is rewritten.
Updated by jan over 18 years ago
- Status changed from New to Fixed
- Resolution set to invalid
Actions
Also available in: Atom