IIS ISAPI_redirector

2009-10-14 Thread Bret Unbehagen
I have a Windows 2003 Server with the ISAPI_Redirector installed. I want to
stop it from passing the client IP to Tomcat. I have found
http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where is
states that I can set JK_REMOTE_USER. I have tried setting an environment
variables and placing the variable in the config files. I am guessing that
ISAPI Redirectors don't support this. Can someone confirm this for me? Also
can someone help me block the client IP from Tomcat?

Thank You.
Bret


Re: IIS ISAPI_redirector

2009-10-14 Thread Rainer Jung
On 14.10.2009 13:47, Bret Unbehagen wrote:
 I have a Windows 2003 Server with the ISAPI_Redirector installed. I want to
 stop it from passing the client IP to Tomcat. I have found
 http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where is
 states that I can set JK_REMOTE_USER. I have tried setting an environment
 variables and placing the variable in the config files. I am guessing that
 ISAPI Redirectors don't support this. Can someone confirm this for me? Also
 can someone help me block the client IP from Tomcat?

Unfortunately the feature only exists for Apache. The ISAPI Redirector
takes the data from the server variables REMOTE_ADDR and REMOTE_HOST.
You can check the IIS docs, whether IIS allows you to overwrite them in
some simple way, but I don't know.

Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: IIS ISAPI_redirector

2009-10-14 Thread Peter Crowther
2009/10/14 Rainer Jung rainer.j...@kippdata.de

 On 14.10.2009 13:47, Bret Unbehagen wrote:
  I have a Windows 2003 Server with the ISAPI_Redirector installed. I want
 to
  stop it from passing the client IP to Tomcat. I have found
  http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where
 is
  states that I can set JK_REMOTE_USER. I have tried setting an environment
  variables and placing the variable in the config files. I am guessing
 that
  ISAPI Redirectors don't support this. Can someone confirm this for me?
 Also
  can someone help me block the client IP from Tomcat?

 Unfortunately the feature only exists for Apache. The ISAPI Redirector
 takes the data from the server variables REMOTE_ADDR and REMOTE_HOST.
 You can check the IIS docs, whether IIS allows you to overwrite them in
 some simple way, but I don't know.


Or you could go the long way round and compile your own version of the
redirector - this may not be the easiest way round the problem, however!

- Peter


Re: IIS ISAPI_redirector

2009-10-14 Thread Rainer Jung
On 14.10.2009 15:31, Peter Crowther wrote:
 2009/10/14 Rainer Jung rainer.j...@kippdata.de
 
 On 14.10.2009 13:47, Bret Unbehagen wrote:
 I have a Windows 2003 Server with the ISAPI_Redirector installed. I want
 to
 stop it from passing the client IP to Tomcat. I have found
 http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where
 is
 states that I can set JK_REMOTE_USER. I have tried setting an environment
 variables and placing the variable in the config files. I am guessing
 that
 ISAPI Redirectors don't support this. Can someone confirm this for me?
 Also
 can someone help me block the client IP from Tomcat?

 Unfortunately the feature only exists for Apache. The ISAPI Redirector
 takes the data from the server variables REMOTE_ADDR and REMOTE_HOST.
 You can check the IIS docs, whether IIS allows you to overwrite them in
 some simple way, but I don't know.

 
 Or you could go the long way round and compile your own version of the
 redirector - this may not be the easiest way round the problem, however!

Excellent point. One way of scratching your itch ;)

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: IIS ISAPI_redirector

2009-10-14 Thread Bret Unbehagen
I that thought about that, however my knowledge of C is a bit rusty. However
I did I could use a IIS proxy like http://code.google.com/p/iisproxy/.

Thanks for the help.
Bret

On Wed, Oct 14, 2009 at 2:30 PM, Rainer Jung rainer.j...@kippdata.dewrote:

 On 14.10.2009 15:31, Peter Crowther wrote:
  2009/10/14 Rainer Jung rainer.j...@kippdata.de
 
  On 14.10.2009 13:47, Bret Unbehagen wrote:
  I have a Windows 2003 Server with the ISAPI_Redirector installed. I
 want
  to
  stop it from passing the client IP to Tomcat. I have found
  http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html,
 where
  is
  states that I can set JK_REMOTE_USER. I have tried setting an
 environment
  variables and placing the variable in the config files. I am guessing
  that
  ISAPI Redirectors don't support this. Can someone confirm this for me?
  Also
  can someone help me block the client IP from Tomcat?
 
  Unfortunately the feature only exists for Apache. The ISAPI Redirector
  takes the data from the server variables REMOTE_ADDR and REMOTE_HOST.
  You can check the IIS docs, whether IIS allows you to overwrite them in
  some simple way, but I don't know.
 
 
  Or you could go the long way round and compile your own version of the
  redirector - this may not be the easiest way round the problem, however!

 Excellent point. One way of scratching your itch ;)

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org