Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread H Plato
So I put this in a block so that only those URLs get written. No success. Thanks for the suggestion though. > On Nov 19, 2014, at 3:26 PM, Otis DeWitt wrote: > > Try adding: > > RewriteRule ^(.*)$ http://www.domain.com/ $1 > [R=301,L] > > Sent from my iPhone >

Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread H Plato
Thanks for the suggestion, but still no success. Again /a/ works, but any link in the proxied site that begins with “/“ does not. Nothing interesting in the logs, either: the error log has a few of these entries: [Wed Nov 19 19:51:58.309834 2014] [include:warn] [pid 22620] [client 192.168.3.18

Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread Otis DeWitt
Try adding: RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L] Sent from my iPhone > On Nov 18, 2014, at 8:38 PM, H Plato wrote: > > I’m having problems getting a reverse proxy to work as a subdirectory. Using > the following configuration, Apache can full proxy an internal site: >

Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread Igor Cicimov
On 20/11/2014 1:04 AM, "H Plato" wrote: > > Thanks Eric, > > I've tried so many combinations of this with no success, both in and out of a location block. This should work according to the docs, but it doesn't (i'm writing this from memory so might have syntax wrong): > > > ProxyHTMLURLMap / /a

Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread H Plato
Thanks Eric, I've tried so many combinations of this with no success, both in and out of a location block. This should work according to the docs, but it doesn't (i'm writing this from memory so might have syntax wrong): ProxyHTMLURLMap / /a/ ProxyHTMLURLMap /bin/ /a/bin/ Sent from my

Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread Eric Covener
On Tue, Nov 18, 2014 at 8:38 PM, H Plato wrote: > then I get inconsistent results. Any link on the internal site that has root > link (i.e.. href=“/docs” ) none of these are proxied to /a/docs. Any link > with a relative link (i.e. href=“docs”) works. mod_proxy_html can fix your links. --

Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread H Plato
Just a cut’n’paste typo. > On Nov 19, 2014, at 1:27 AM, Igor Cicimov wrote: > > > On 19/11/2014 12:39 PM, "H Plato" > wrote: > > > > I’m having problems getting a reverse proxy to work as a subdirectory. > > Using the following configuration, Apache can full proxy an i

[users@httpd] Load balancing with load detection on backend servers ?

2014-11-19 Thread Ulrich.Herbst
Hi all, I know the load_balancing-policies bybusyness, byrequests, bytraffic and heartbeat. We have a frontend apache, that acts as forwarding proxy to 8 backend servers. BUT: We want do route the next request to that backend server with least load. Is there any apache module, that can do this

Re: [users@httpd] Proxy problems when using subdirectory

2014-11-19 Thread Igor Cicimov
On 19/11/2014 12:39 PM, "H Plato" wrote: > > I’m having problems getting a reverse proxy to work as a subdirectory. Using the following configuration, Apache can full proxy an internal site: > > > ServerName www.domain.com > DocumentRoot /data/www/www > ErrorLog /var/log/a