Forum Discussion
Robert_Decker_2
Nimbostratus
Mar 06, 2006LDAP redirect not working
How do you redirect _sys_auth_ldap? I've tried the following(x.x.x.x is the IP address of the web page I created):
replace HTTP::respond 401 with HTTP::respond "http://x.x.x.x"
...
Colin_Walker_12
Mar 07, 2006Historic F5 Account
I'd recommend taking a look at the complete HTTP::respond syntax. You can see that in the iRules Wiki, here: Click here
I think what you're looking for is a 3xx redirect response, along with the response you want to send to the client.
Something like:
HTTP::respond 302 Location "http://new.location.net/app"Check out the info and see if that helps.
As an fyi, there's also a pretty good list of the HTTP status codes and their definitions over at w3c.org: Click here
HTH,
-Colin
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