Mod_rewrite question

Discussion in 'Apache' started by hurricane_sh, Nov 27, 2004.

  1. #1
    I use the following line in .htaccess:

    RewriteEngine On
    RewriteRule ^test([0-9]*).php test.php?page=$1 [L,NC]

    When I try test5.php, the redirect works, but I can't get the value of parameter "page", where am I doing wrong? Thanks!
     
    hurricane_sh, Nov 27, 2004 IP
  2. hurricane_sh

    hurricane_sh Well-Known Member

    Messages:
    940
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    140
    #2
    A silly mistake, damn it, I have forgotten programming.
     
    hurricane_sh, Nov 27, 2004 IP