Hello,
 
After hours of googling and browsing documentation, i came to the conclusion 
that what i want is either so trivial that everybody knows how to do it, or so 
complicated that no one ever tried it...
 
I want to accomplish the following in Tomcat 5.5:
 
http://myserver:80/xxx just does whatever it always does.
http://myserver:666/xxx is equivalent to http://myserver:80/myapp/xxx
 
So i want all requests targetted at a particular port (666) in this case to be 
forwarded to a particular servlet, which is also served under its own 
subdirectory on the regular HTTP port 80.
 
I can set up a connector at port 666 and have all its request go somewhere 
else, but then the application cannot be reached through the normal port (80), 
which is crucial for this thing to work. Installing two copies will accomplish 
that, but then the two copies live in different universes and cannot 
communicate - and setting up some IPC between them is overkill i'd say.
 
 
 
Mike Looijmans
Océ-technologies <http://www.oce.com/>  | Topic automation 
<http://www.topic.nl/> 
 


This message and attachment(s) are intended solely for use by the addressee and 
may contain information that is privileged, confidential or otherwise exempt 
from disclosure under applicable law.

If you are not the intended recipient or agent thereof responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.

If you have received this communication in error, please notify the sender 
immediately by telephone and with a 'reply' message.

Thank you for your co-operation.

Reply via email to