Forum Discussion
mike_drennen_16
Cirrus
Jul 24, 2015Insert HTTP headers when accessing a Webtop link
I am having an issue and am hoping for some guidance or a link to point me in the correct direction. Within my Access Policy, I am needing to add HTTP headers when selecting one webtop link. Can I ...
Michael_Jenkins
Cirrostratus
Jul 27, 2015So the user's request goes to your VIP, and gets proxied to backend site? If you add some logging to your irule, do you see anything in the ltm log? Something like:
when HTTP_REQUEST {
log local0. "URI: '[HTTP::uri]'"
if { [HTTP::uri] contains "VendorPortal_test"} {
log local0. " VenderPortal_Test - Adding headers"
log local0. " Adding 'customer': '[ACCESS::session data get session.ad.last.attr.extensionAttribute1]'"
HTTP::header insert customer "[ACCESS::session data get session.ad.last.attr.extensionAttribute1]"
log local0. " Adding 'document': '[ACCESS::session data get session.ad.last.attr.extensionAttribute2]'"
HTTP::header insert document "[ACCESS::session data get session.ad.last.attr.extensionAttribute2]"
}
}
This could help determine if anything actually happening or not.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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