cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1746
Views
0
Helpful
3
Replies

ACE Module Reverse Proxy with URL rewrite

virajmendis
Level 1
Level 1

Hi All,

Try to configure ACE as reverse proxy for WebLogic server farm. But have a issue on Rewriting URL.

http://172.16.36.100/test1/ -> http://192.168.1.20:8080/test1/ This is Possible.

But, http://172.16.36.100/test1/ -> http://192.168.1.20:8080/test2/

T tried this with redirection server farm. redirection works but the cannot see the pages wich coming after the /test1/xxxxxxxxx.xxxx and redirection can experiance the client since URL change on browser.

Is there a any other logic?

Have anyone tried this before?

Thanks

Vira

3 Replies 3

litrenta
Level 3
Level 3

You won't be able to do this on the ace. When using a redirect server you can preserve the path with the %p variable but in this case you want to rewrite part of the path

so

webhost redirection http://192.168.1.20:8080/test2%p

winds up being

http://192.168.1.20:8080/test2/test1/...

Yes, I tried with %p variable. It's not work.

But the datasheet said HTTP header manipulation is possible with ACE. This feature support only with SSL?

Thanks…..

you can manipulate the header...not the url.

Everything after the url can be modified, removed, added...

So if your server sends a redirect, you can intercept it and change the Location: header.

But again, you can't change the url.

Gilles.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: