special characters in simple rewrite rule

Discussion in 'Apache' started by martinvidic, Oct 22, 2011.

  1. #1
    Hi there.

    I'm trying to create a simple re-write rule, but I don't know how to ignore the special characters
    This is what i want to do:


    RewriteRule armoptions?action=showarm_options category.php?id=3

    Looks like the = and the ? are causing trouble here?
    Does anybod know how to fix this?

    THANX : )
    Martin
     
    martinvidic, Oct 22, 2011 IP
  2. Sorror

    Sorror Active Member

    Messages:
    376
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #2
    = is not a special character in regex.

    And I don't know what do you mean by 'ignore'. Matching special character as normal, exclude from pattern or something else?
     
    Sorror, Oct 27, 2011 IP