Forum Discussion
nit8080_109161
Nimbostratus
Feb 01, 2008http_header("Authorization")
I need the iRule to set persistence based on the “Authorization” value in the HTTP header. On the old version 4 box, I did this by just putting
http_header("Authorization") in the expression fi...
Jun 26, 2009
We used something like this:
when HTTP_REQUEST {
if { [HTTP::username] ne "" and [HTTP::username] ne "user" } {
persist uie [HTTP::username]
} else {
HTTP::respond 401 noserver WWW-Authenticate "Basic realm=\"All\"" Server "IBM_HTTP_Server" Vary "Accept-Encoding" Keep-Alive "timeout=15, max=100" Content-Type "text/plain" Content-Language "en-us"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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