Forum Discussion
APM reauthenticate when switch SSL Server profile disable to enable or enable to disable
I am using APM and LTM. I am using irule to assign different pool depending on URL and also disable or enable to SSL SERVER profile. However, when I switch the pool and enable or disable to SSL Server profile the APM module is forcing user to re-authenticate. I am using AD Authentication (AD AAA) to authenticate the users. I want SSO session remain. Please advise why it is happening. Here is my irule code
when HTTP_REQUEST { HTTP::header remove Accept-Encoding switch [string tolower [HTTP::host]]
{ "aaaa.com" { pool /Common/aaaa_pool SSL::disable serverside switch [string tolower [HTTP::uri]] { "/" { SSL::disable serverside HTTP::redirect https://[HTTP::host]/Home.aspx } } } "bbbb.com" { pool /Common/bbbb_pool SSL::enable serverside if { ([HTTP::uri] == "/")} { HTTP::redirect https://[HTTP::host]/default.aspx } } "cccc.com" { pool /Common/cccc_pool SSL::disable serverside if { ([HTTP::uri] == "/")} { log local0. "this is the Home PAGE New Redirect for [HTTP::host]" HTTP::redirect https://[HTTP::host]/cccc/default.aspx } } "dddd.com" { pool /Common/dddd_pool SSL::enable serverside if { ([HTTP::uri] == "/")} { HTTP::redirect https://[HTTP::host]/login.aspx?ReturnUrl=%2f } }
} }
1 Reply
- Lucas_Thompson_Historic F5 Account
Can you enclose your irule code in a
HTML tag so it's easier to read?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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