Forum Discussion

david0512_20548's avatar
david0512_20548
Icon for Nimbostratus rankNimbostratus
Oct 09, 2014

http redirect issue with $ character

Hi All I have the following redirect setup and it seems to work aprt form when the $ character is inserted into the rule. when HTTP_REQUEST { if { [HTTP::host] equals "www.thiswebsite....
  • shaggy_121467's avatar
    Oct 09, 2014

    The $1 is being treated as a variable. Escape the dollar-sign in both locations with a "\" to match "$1":

    /t/\$1