Forum Discussion
David_Sherman_2
Nimbostratus
Oct 31, 2006Header sanitize
The following IRule was working.
when HTTP_REQUEST {
set OrgAdr [IP::remote_addr]:[TCP::remote_port]
set DestServer [IP::local_addr]
HTTP::header sanitize Host + Content-T...
Colin_Walker_12
Nov 02, 2006Historic F5 Account
All you should need is a single string argument to the sanitize command.
Such as:
when HTTP_REQUEST {
set OrgAdr [IP::remote_addr]:[TCP::remote_port]
set DestServer [IP::local_addr]
HTTP::header sanitize "Host Content-Type Content-Length Authorization"
HTTP::header insert Server $DestServer
HTTP::header insert OriginalClientAddress $OrgAdr
}
HTH,
Colin
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects