Forum Discussion
VijayG_122615
Nimbostratus
Mar 12, 2013how to insert Basic Authorization into http header while redirecting
Hi ,
i am trying to insert a common user id and pwd intp "Basic Authorization" of http header and redirect the same to new url. tired HTTP::header insert Authorization cmd but it isnt working ...
can you post the irule? and what does "not working" mean indeed??
- Only1masterbla1Jun 26, 2018
Cirrus
Check sample iRule: https://devcentral.f5.com/Wiki/Default.aspx?Page=persist&NS=iRules
Select different persistence methods by HTTP URICode
when HTTP_REQUEST {
Check the requested URI switch -glob [HTTP::uri] { "/path1/* - "/path2/* { Request was for an IIS URI so select the pool and set a pool-specific cookie pool iis_pool persist cookie insert iis_persist 0 } default { Request was for an iPlanet URI so select the pool and source address persistence with a /24 source mask pool iplanet_pool persist source_addr 255.255.255.0 0 } } }
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