On Oct 22, 2007, at 2:06 PM, Alan AZZERA wrote:
I thought about another approach : leaving as is my public DNS zone,
and modifying my private one to distribute private IP for public
domain names. My Reverse Proxies have just to be taught to use the
private DNS, and all I have to do is to
On Fri, Oct 19, 2007 at 09:09:54PM +0200, Alan AZZERA wrote:
RewriteRule /(.*) http://backend/$1 [proxy,last]
But AFAIK, mod_rewrite cannot alter anything *inside* the HTML code
going out the server. mod_proxy_html can...
yep.
I'm currently trying to deal with PMWiki. It uses only
'nite
I'll try your tips tomorrow. Thanks a lot.
If you want to get your hands really dirty, you can also
leave mod_headers aside and set www.example.com statically
in /etc/hosts to point to the backend. That way the proxy
server will still believe that he is www.example.com via
servername,
hya,
On Fri, Oct 19, 2007 at 03:32:37PM +0200, Alan AZZERA wrote:
I ran into such awful hacks with mod_proxy_html.
Proxying bad applications is a dirty business. They do not
get any cleaner when they are told to behave nicely behind
a proxy.
IMHO... It could be efficient, but it was
Proxying bad applications is a dirty business. They do not
get any cleaner when they are told to behave nicely behind
a proxy.
I'm afraid you're right...
mod_rewrite has that too. When proxying with mod_rewrite it is
a good practice to set that.
RewriteRule /(.*) http://backend/$1
Hey Alan,
You are facing a very typical problem. I am not proficient
with mod_proxy_html, so I am not sure I can help you.
However, the best way is always to go and fix the
application. If you can not do that for whatever
reason, then mod_proxy_html is a good approach. A
more general approach is
Hi world !
Here is my problem, I hope someone could help me.
I need to host some web apps, coded in PHP by non-professional developpers,
and sometimes poorly written and designed. I use an Apache server configured
as a Reverse Proxy, my real HTTP server is behind this R.P. I have two DNS
zones,
Hi !
Thanks for answering...
You are facing a very typical problem.
Undoubtly ;) !
I am not proficient with mod_proxy_html, so I am not sure I can help you.
However, the est way is always to go and fix the application.
It's such a pain ! There are plenty of well-designed apps, but far
more