Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread Krist van Besien
On Wed, Apr 1, 2009 at 5:10 AM, Mike Lyon mike.l...@gmail.com wrote: Howdy All, Is anyone out there using mod_rewrite to rewrite URLs that pass through their reverse proxies? I am using Apache as an SSL offloader for some web / app servers that sit behind it. I have it up and working great.

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread John Armstrong
We use relative url's to bypass this issue. It also prevents other 'backend URL leakage' and generally allows for proper load balancing without having to write software alter your display output. John- On Tue, Mar 31, 2009 at 11:36 PM, Krist van Besien krist.vanbes...@gmail.com wrote: On Wed,

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread Mike Lyon
That would be the best thing to do. Please excuse my ignorance though. If the hrefs were written in relative, would you still specify the http or https in the string? Or would you not include those? Thanks, Mike On Wed, Apr 1, 2009 at 10:43 AM, John Armstrong jarmstr...@bepress.comwrote: We

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-04-01 Thread John Armstrong
You wouldn't specify anything, they would adopt the requesting scope. This lets the browser deal with it. So '/relativeurl.html' is returned to the browser and the browser appends the full URL based on the page its being requested in. The only time this gets weird is when you need to enforce SSL

[us...@httpd] mod_rewrite on reverse proxies...

2009-03-31 Thread Mike Lyon
Howdy All, Is anyone out there using mod_rewrite to rewrite URLs that pass through their reverse proxies? I am using Apache as an SSL offloader for some web / app servers that sit behind it. I have it up and working great. The only problem is that the app will return to the client (via the

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-03-31 Thread André Warnier
Mike Lyon wrote: ... So what I would like to know is if there is a way I can rewrite those hrefs when they go from the server to the client with mod_rewrite so the client is pointed to an SSL href and not just a regular http href. Is something that mod_rewrite is capable of doing?

Re: [us...@httpd] mod_rewrite on reverse proxies...

2009-03-31 Thread André Warnier
Sorry, below I meant mod_proxy, not mod_rewrite. André Warnier wrote: Mike Lyon wrote: ... So what I would like to know is if there is a way I can rewrite those hrefs when they go from the server to the client with mod_rewrite so the client is pointed to an SSL href and not just a regular