Forum Discussion
gh0std0g_79292
Nimbostratus
Feb 18, 2013Need help getting ProxyPass to work
Below is ideally how I want this to work. A user goes to http://external.company.com and gets redirected to https://external.company.com. Once they login, they will automatically go to https://extern...
gh0std0g_79292
Nimbostratus
Feb 19, 2013Thanks for the reply Kevin. This was built with an iApp, so when I say redirected, I'm merely talking about the standard system HTTP -> HTTPS 302 redirect, and yes they are using the same VIP. I understand that I need the stream profile in order to rewrite embedded links.
I'm having two issues. First, I'm just trying to get PP to work with just the host header rewrites and URI manipulation. I need anyone who goes to HTTP(s)://external.company.com to have a URI appended of /Directory/Path; when the request goes to the serverside, it should be HTTP://internal.company.com/Directory/Path. Can you or anyone tell me if my datagroup is the correct logic?
I do have debug turned on for the PP iRule and this is the error I'm currently getting (excuse the formatting):
err tmm[12573]: 01220001:3: TCL error: /Common/approvequotestest-e-apm-proxypass - Illegal argument. Can't execute in the current context. (line 1) invoked from within "HTTP::uri $path_serverside[substr $orig_uri [string length $path_clientside]]"invalid peer expression (line 3) invoked from within "clientside { Rewrite the URI HTTP::uri $path_serverside[substr $orig_uri [string length $path_clientside]] Rewrite the Host header ..."
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