2 posts tagged with Apache by emptybowl.
Displaying 1 through 2.
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 on Mar 29, 2007 - 1 answers
I'm not too well versed in Apache, and I'm having problems finding out if I can do what I want to do: Is there a way to use mod_rewrite to redirect a certain URL to a different port on the same sever without changing the URL displayed to the user? Example: Say I want http://myserver/tomcat to redirect to http://myserver:8080, but still keep the URL as http://myserver/tomcat. I've figured out how to do it so it changes the URL, and that seems to be touted as a "feature" of mod_rewrite in the documentation, but I can't find a way to turn it off. Is it possible? If not though mod_rewrite, then maybe some other module?
posted on Aug 16, 2006 - 10 answers