Rewrite Question

Discussion in 'Apache' started by dorgefen85, Mar 27, 2011.

  1. #1
    Hi All,

    I have this following rewrite rule:
    RewriteCond %{QUERY_STRING} ^((.+)&)?SID=[\w]*$ [NC]
    RewriteRule ^(.*)$ /$1?%2 [R=301,L,NE]

    I want to add a condition that when the URL contain the following:
    ...index.php/admin...
    then the rule will not be applied.

    Thanks in advance
     
    dorgefen85, Mar 27, 2011 IP
  2. dorgefen85

    dorgefen85 Peon

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i really need to solve this
    Please advice
     
    dorgefen85, Mar 27, 2011 IP