Forum Discussion
Bala_128530
Nimbostratus
Oct 27, 2015Does APM will support Non-Browser component
Hi,
I am implementing new web portal via APM , which is developed on XBAP.
APM validations are getting completed and some of the objects are getting response from F5/server to browser, but ...
Lucas_Thompson_
Oct 28, 2015Historic F5 Account
Clientless-mode (if it's inserted) will cause the 302 to /my.policy to NOT occur. So if you're seeing that, then your header insert isn't working for some reason. The lack of a host header in the client request may be interfering also.
Try using this command on the connection along with your header insert, and add a log statement to make sure it's executing:
https://devcentral.f5.com/wiki/iRules.ACCESS__restrict_irule_events.ashx
- Bala_128530Oct 29, 2015
Nimbostratus
Hi, Thanks for your update, I have tried this option. It’s keep on looping the login. 1) HTTP::redirect "/" Client 1xx.1yy.1.30:52290 -> mysite.com/DWeb/Settings/CommonImages/Branding.xml (request) Client 1xx.1yy.1.30:52291 -> mysite.com/my.policy (request) Client 1xx.1yy.1.30:52292 -> mysite.com/my.logout.php3?errorcode=19 (request) site redirected Client 1xx.1yy.1.30:52292 -> mysite.com/ (request) Client 1xx.1yy.1.30:52293 -> mysite.com/my.policy (request) Client 1xx.1yy.1.30:52294 -> mysite.com/my.logout.php3?errorcode=19 (request) site redirected << looping>> 2) I have tried specific URL, still the same result. HTTP::redirect "https://mysite.com/DWeb/Settings/CommonImages/Branding.xml mysite.com/DWeb/Settings/CommonImages/Branding.xml (request) mysite.com/my.policy (request) mysite.com/my.logout.php3?errorcode=19 (request) : site redirected mysite.com/DWeb/Settings/CommonImages/Branding.xml (request) <= looping Each redirection APM creates new session. Each session ends with “User-Agent header is absent or empty” Is there any other variable to validate user session to allow. - Bala_128530Oct 29, 2015
Nimbostratus
when CLIENT_ACCEPTED { ACCESS::restrict_irule_events disable } when HTTP_REQUEST { HTTP::header insert "clientless-mode" 1 if { [HTTP::uri] ends_with "/my.logout.php3?errorcode=19" }{ HTTP::redirect "https://mysite.com/DWeb/Settings/CommonImages/Branding.xml" log local0. ": site redirected" } } - Bala_128530Oct 29, 2015
Nimbostratus
If i use insert/replace "clientless-mode" 1 , then APM is not working Erro message : Access was denied by the access policy. This may be due to a failure to meet access policy requirements.
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