Redirect MAtch for "?"

Discussion in 'Apache' started by sekar1407, Oct 31, 2012.

  1. #1
    Hi Every onePlease could you some one help the below problem iam facing onb Redirect match.https://localhost/test.htm?_SearchId=testIn apache i need specify rule to validate if the url contain "test.htm?_SearchId=test" and return 403 .I tried the RedirectMatch 403 "test.htm/?_SearchId=test" But it blocks only https://localhost/test.htm_SearchId=test not the "https://localhost/test.htm?_SearchId=test" which contains ? in the url
     
    sekar1407, Oct 31, 2012 IP
  2. sekar1407

    sekar1407 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Please help asap
     
    sekar1407, Nov 1, 2012 IP
  3. wetbupa

    wetbupa Peon

    Messages:
    119
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    0
    #3

    Please provide me with the name of your site and copy all the rewrite rules from your .htacess file.
     
    wetbupa, Nov 5, 2012 IP