Forum Discussion
Andi_102219
Nimbostratus
Oct 21, 2010ProxyPass issues
I'm using LTM v9.3 and want to redirect requests to a certain URL with the ProxyPass iRule.
iRule is assinged to my virtual server(s) and created the needed data group(s).
I guess I'm h...
Andi_102219
Nimbostratus
Oct 22, 2010@Derek no that didn't really help me :-(
Sorry, here again the log lines from a single request to http://host1.domain.de/test :
< date > Rule ProxyPass < HTTP_REQUEST >: < v-server >, Host=host1.domain.de, URI=/test: Looking for entries matching host1.domain.de/test
< date > Rule ProxyPass < HTTP_REQUEST >: < v-server >, Host=host1.domain.de, URI=/test: Found Rule, Client Host=host1.domain.de, Client Path=/test, Server Host=host2.domain.de, Server Path=/php/somepath/
< date > Rule ProxyPass < HTTP_REQUEST >: < v-server >, Host=host1.domain.de, URI=/test: Redirecting to http://host1.domain.de/test/
< date > Rule ProxyPass < HTTP_REQUEST >: < v-server >, Host=host1.domain.de, URI=/test/: Looking for entries matching host1.domain.de/test/
< date > Rule ProxyPass < HTTP_REQUEST >: < v-server >, Host=host1.domain.de, URI=/test/: Found Rule, Client Host=host1.domain.de, Client Path=/test, Server Host=host2.domain.de, Server Path=/php/somepath
< date > Rule ProxyPass : < v-server >, Host=host1.domain.de, URI=/test/: New Host=host2.domain.de, New Path=/php/somepath/
< date > Rule ProxyPass : < v-server >, Host=host1.domain.de, URI=/test/: Using default pool < pool >
I simply want to redirect from host1.domain.de/test to host2.domain.de/php/somepath/ - I set up a data group with the following string:
host1.domain.de/test host2.domain.de/php/somepath/
But always when I make a request to host1.domain.de/test nothing happens - no redirect - as I can see in the log lines it simply redirects me to the same page... why??
I tried a simple case:
/test www.google.com
Could such line ever work?
All I saw is that the redirect is always to the same host / uri to which I made the initial request.
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