Forum Discussion
Moonotech
Nimbostratus
Sep 05, 2024Request URL and Referel http header
Hello Everyone, Kindly help with how i can change the Request URL and Referrel header field. And also i want to be able to send the 2 field to the logs. Many Thanks. Regards,
TJ_Vreugdenhil
Cirrus
Aug 30, 2011Thanks for the reply. I tried that, and no go. It looks to be a argument issue:
"line 8: [wrong args] [HTTP::header Referer equals ""] line 24: [parse error: PARSE syntax "
Can 'HTTP:header' & 'Referer' go together? Doesn't look like they can from the wiki below. Is there another way to check "the HTTP::header Referer"?
http://devcentral.f5.com/wiki/irules.HTTP__header.ashx
Thanks!
-TJ
- Mar 05, 2009Don't forget the "HTTP::header sanitize" command that will strip out all server headers except the list you provide. Good for only allowing the headers you want to go through regardless of the backend web server.