Forum Discussion
CSA
Jan 17, 2011Nimbostratus
Simple reverse proxy
Hi,
I'm trying to do something quite easy but I can't make it work.
I have an irule like this:
[...]
elseif {[HTTP::path] starts_with "/admin"} {
H...
CSA
Jan 17, 2011Nimbostratus
1. User requests http://myapp.domain.com/admin/ . It works, he gets let's say "index.html" file (thanks to your tip with HTTP::uri /[string range [HTTP::uri] 6 end]
)
2. User clicks on a link pointing to "/directory/foobar.html"
3. It doesn't work because in the index.html page the user is getting, the link is "/directory/foobar.html". And it should be "/admin/directory/foobar.html" to have it redirected properly I think.
I think I have to rewrite server's response.
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