Forum Discussion
skarpovi_111573
Nimbostratus
Apr 09, 2008HTTP::header insert
tried to use simple rule with HTTP::header insert, but don't see anything in TCP dump. it does redirect to https, however - no string in the header
when HTTP_REQUEST {
if {[TCP::local_port] eq "80...
skarpovi_111573
Nimbostratus
Apr 10, 2008tried to test this rule, but still no STRING incerted in the HTTP header? not sure if i'm doing something wrong.
when HTTP_REQUEST {
if {[TCP::local_port] eq "80"} {
HTTP::respond 302 Location "https://[HTTP::host][HTTP::uri]test" STRING "MLint"
} elseif {[TCP::local_port] eq "80" } {
HTTP::redirect "http://[HTTP::host][HTTP::uri]"
} else {
pool test-Servers-Pool
}
}basicaly, what i'm trying to acomplish - is different authentication for internal and external users. I'm trying to change HTTP:header which will be send by BigIP to IIS server and based on the difference in the header, SSO or HTLM authentication will take place. at the same time, i need redirect to port 443. any recommendations?
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
