Project

General

Profile

Actions

Bug #843

closed

bad rewrite

Added by Anonymous over 18 years ago. Updated over 16 years ago.

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

Actions #1

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.

Actions #2

Updated by jan over 18 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid
Actions #3

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom