Forum Moderators: phranque
I have more than 10 web servers running on my internal network in difference subnet. for each web server, it cannot be access directly. Then I decided to setup a reverse proxy on top of that web servers. Any request to my internal web server must be through my proxy server. The URL for each internal web server will be passed though the URL.
for example:
[localhost...]
what I trying to do is that URL should map to
[147.23.45.61...]
I am able to rewrite the URL using mod_rewrite:
RewriteRule ^/(.*) [$1...] [P,L]
the first page will be loaded is login page. that page can be rendered properly but once i submit the form, the page is gone.
the form tag in html code is like this:
<form name="login" method="post" action="/ss/redirect.html">
My url is changed from :
[localhost...] to [localhost...] but what i expected is something like [localhost...]
Any idea how to solve this?
In this case I don't think I can use ProxyPass and ProxyPassReverse because the url will be dynamic.
If I can't do this with apache what web server that you guys recommended/suggest?
I found 1 proxy called EzProxy. I try to do the same thing that that proxy. Unfortunately for some reasons, I can't really use EzProxy.
Any Idea?
Thank you very much.
Regards,
PL