Forum Discussion
1 Reply
Sort By
- hooleylistCirrostratusYou can get and set the URI with HTTP::uri. If you want to change the host, you can use HTTP::header replace Host NEW_HOST.
when HTTP_REQUEST { set new URI HTTP::uri /newuri/index?page=[HTTP::uri] log local0. "new uri: /newuri/index?page=[HTTP::uri]" set new Host header HTTP::header replace Host www.company.com log local0. "replaced Host header" }