Stupid computers.....do what I want!
March 29, 2007 12:17 PM   Subscribe

I asked an earlier question about using Apache to redirect a request to a Tomcat server running Jython. With your help I've gotten that running, but now I have a new problem. I need the hostname of the computer making the request to be available to the Jython scripts that are running, but the mod_rewrite changes REMOTE_ADDR to be name of the Apache server, not the hostname of the user. Is there some other way I can get this information?
posted by emptybowl to Computers & Internet (1 answer total)
 
Look for a header called X-Forwarded-For, but be sure to read this first.
posted by simonw at 3:52 PM on March 29, 2007


« Older Webpage to database for a nonprogrammer?   |   How can I get more exposure for my music? Newer »
This thread is closed to new comments.