Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-21 Thread André Warnier
Bill Barker wrote: ... Which gives a third option to the OP, which is to use the useIPVHosts=true option on the Connector ... /, and only configure Host .../s for the ones that he wants to allow to connect (and the default Host just returns 404 to every request). Yes, that possibility was

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/19/2009 4:22 PM, Mark Thomas wrote: On 19/12/2009 10:45, André Warnier wrote: If this is too vast as a question, just let me know and point me where to get started maybe ? Not at all, although this is heading off topic. I'd start

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-20 Thread André Warnier
Mark Thomas wrote: On 19/12/2009 10:45, André Warnier wrote: ... To get back to the main issue, as long as I anway get the hang of this stuff, and have checked out the SVN of Tomcat anyway, where in the /valves stuff do I find where it actually checks the remote IP against which

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-20 Thread Mark Thomas
On 20/12/2009 16:04, André Warnier wrote: In other words : it seems that quite early in the request process, a decision is taken to *replace* the remote IP address as obtained from the socket, by the ultimate IP of the client for which this proxy request is being processed. This casts a doubt

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-20 Thread André Warnier
Mark Thomas wrote: ... This is one of those times where the solution will depend on the protocol you are using. The AJP connectors will report the client's IP address so you need an alternative solution. Using the request.secret attribute is probably the simplest fix although keep in mind that

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-20 Thread Rainer Jung
On 20.12.2009 21:00, André Warnier wrote: Mark Thomas wrote: ... This is one of those times where the solution will depend on the protocol you are using. The AJP connectors will report the client's IP address so you need an alternative solution. Using the request.secret attribute is probably

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-20 Thread Bill Barker
Mark Thomas ma...@apache.org wrote in message news:4b2e4e77.3000...@apache.org... On 20/12/2009 16:04, André Warnier wrote: In other words : it seems that quite early in the request process, a decision is taken to *replace* the remote IP address as obtained from the socket, by the ultimate

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-19 Thread André Warnier
Bill Barker wrote: ... If you have a svn checkout, then the command: svn diff LocalStrings_fr.properties LocalStrings_fr.properties.patch will do it. Alternatively, Cygwin has a Unix/Linux like diff utility. Also, for a translation, it's probably not too bad if you just attach the fixed

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-19 Thread Mark Thomas
On 19/12/2009 10:45, André Warnier wrote: Bill Barker wrote: ... If you have a svn checkout, then the command: svn diff LocalStrings_fr.properties LocalStrings_fr.properties.patch will do it. Alternatively, Cygwin has a Unix/Linux like diff utility. Also, for a translation, it's

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-19 Thread Bill Barker
André Warnier a...@ice-sa.com wrote in message news:4b2caede.6070...@ice-sa.com... Bill Barker wrote: ... If you have a svn checkout, then the command: svn diff LocalStrings_fr.properties LocalStrings_fr.properties.patch will do it. Alternatively, Cygwin has a Unix/Linux like diff

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-18 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Using RemoteAddressValve with an Apache mod_proxy_balancer If anyone points me to where the code of the RemoteAddrValve can be found, I'd like to have a look. Download the source package, and look

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-18 Thread Mark Thomas
On 18/12/2009 15:20, André Warnier wrote: By the way, in the file LocalStrings_fr.properties that is in that same directory, there are quite a few typos. That's more my level, me being a native French speaker and all. How do I submit a corrected version, with a minimum of fuss ? Get the

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-18 Thread André Warnier
Mark Thomas wrote: On 18/12/2009 15:20, André Warnier wrote: By the way, in the file LocalStrings_fr.properties that is in that same directory, there are quite a few typos. That's more my level, me being a native French speaker and all. How do I submit a corrected version, with a minimum of

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-18 Thread Mark Thomas
On 18/12/2009 16:21, André Warnier wrote: Mark Thomas wrote: On 18/12/2009 15:20, André Warnier wrote: By the way, in the file LocalStrings_fr.properties that is in that same directory, there are quite a few typos. That's more my level, me being a native French speaker and all. How do I

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/18/2009 11:42 AM, Mark Thomas wrote: On 18/12/2009 16:21, André Warnier wrote: or do I need some special editor or setting, or do I just convert these codes to their UTF-8 equivalents and submit it as such ? You can use:

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-18 Thread Bill Barker
André Warnier a...@ice-sa.com wrote in message news:4b2bdc92.9050...@ice-sa.com... Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/18/2009 11:42 AM, Mark Thomas wrote: On 18/12/2009 16:21, André Warnier wrote: or do I need some special editor or

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-17 Thread André Warnier
Martin B. Smith wrote: On 12/16/2009 11:01 PM, Bill Barker wrote: André Warnier a...@ice-sa.com wrote in message news:4b294eb6.4090...@ice-sa.com... Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances of Apache are allowed to proxy requests into my Tomcat 5.5.28

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-17 Thread Rainer Jung
On 17.12.2009 10:02, André Warnier wrote: Martin B. Smith wrote: On 12/16/2009 11:01 PM, Bill Barker wrote: André Warnier a...@ice-sa.com wrote in message news:4b294eb6.4090...@ice-sa.com... Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances of Apache are

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-17 Thread André Warnier
Rainer Jung wrote: On 17.12.2009 10:02, André Warnier wrote: Martin B. Smith wrote: On 12/16/2009 11:01 PM, Bill Barker wrote: André Warnier a...@ice-sa.com wrote in message news:4b294eb6.4090...@ice-sa.com... Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances

RE: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-17 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Using RemoteAddressValve with an Apache mod_proxy_balancer If anyone points me to where the code of the RemoteAddrValve can be found, I'd like to have a look. Download the source package, and look in: apache-tomcat-6.0.20-src/java

Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-16 Thread Martin B. Smith
Howdy! I'm trying to ensure that only specific instances of Apache are allowed to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it looks like Tomcat is seeing the actual client IP making the original request to Apache. Does anyone have a configuration that only allows

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-16 Thread André Warnier
Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances of Apache are allowed to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it looks like Tomcat is seeing the actual client IP making the original request to Apache. Does anyone have a configuration

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-16 Thread André Warnier
Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances of Apache are allowed to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it looks like Tomcat is seeing the actual client IP making the original request to Apache. Does anyone have a configuration

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-16 Thread Bill Barker
André Warnier a...@ice-sa.com wrote in message news:4b294eb6.4090...@ice-sa.com... Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances of Apache are allowed to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it looks like Tomcat is seeing the

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-16 Thread Martin B. Smith
On 12/16/2009 11:01 PM, Bill Barker wrote: André Warnier a...@ice-sa.com wrote in message news:4b294eb6.4090...@ice-sa.com... Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances of Apache are allowed to proxy requests into my Tomcat 5.5.28 instances.