A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Help: apache work with tomcat
Joined: Nov 27, 2000
Jan 10, 2003 12:14:00
I am trying to get remote user information using request.getRemoteAddr(),
things working great on
alone, however, if I try to use Apache proxy
support have some problems. Here is the situation:
1) Client 192.168.1.1----------->tomcat server
192.168.1.1, works great.
2) Client 192.168.1.1-----------> apache server
(through Apache proxy support redirect to
servlet return remoteAddr is
192.168.1.2, which is server's address
I guess 2) mistake request come from server itself instead of client machine
because request get forwarded.
Anyone knows if there is work around or other method that I can use to get
client information from tomcat servlet?
Joined: Oct 14, 2001
Jan 11, 2003 15:55:00
Does switching UseCanonicalName Off (or On) make any difference?
subject: Help: apache work with tomcat
Deploy a single servlet in Tomcat?
client cert authentication problem
using tomcat with apache2
The requested resource is not available
Apache -> Tomcat servlet problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014