Forum Discussion
Mike_Roe_60070
Nimbostratus
Nov 23, 2010APM irule: remote login page needs referer
Hi all, We have a need to hide all our apps behind a single login application and are using a remote login page in an APM policy to do this. The problem is that this login app needs some way of findin...
hoolio
Cirrostratus
Nov 24, 2010That might be true.  I haven't played around with APM to know for sure.  Maybe someone else can clarify. 
Can you clarify how/under what circumstances you want to tell the login app which hostname the client started with? Is this a separate application running behind APM? Do all requests go through this application or just some?
Depending on when the info needs to be inserted into a cookie, it's possible you could add the start page as a session variable in ACCESS_SESSION_STARTED using something like:
ACCESS::session data set session.custom.referer [HTTP::header Referer]
Aaron
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