I would have thought some Apache [RewriteRule]s would do the trick. Do you use an Apache web server in front of Tomcat (you seem to suggest so with (c))
Allistair -----Original Message----- From: Alan Honczar [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 14:06 To: Tomcat Users List Subject: RES: question regarding alias for context Sorry the persistence, but as I still did not found a way of doing that I am reposting and trying to explain myself better. The problem is that my clients are POS based applications and the URL used is fixed. Part of the POSs are pointing to context A and the others to context B because of different app versions (different branches). Now, ctx B is able to receive the old requests that are now for ctx A, but the URL is fixed in the POSs. I have 3 alternatives: a. recall the terminals. (not recommendable) b. substitute the context A with an app that replaces the fixed URL. (implies in lots of burocracy) c. configuring an alias to context B, forcing the old URL to reach ctx B. I tried making Apache redirect the requests of ctxA to the connector of ctxB, but it did not work. TomCat is still loading the classes of ctxA. I´d like TomCat to understand ctxA as ctxB. Please help, and thanks in advance... Alan -----Mensagem original----- De: Alan Honczar [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 20 de março de 2006 19:26 Para: Tomcat Users List Assunto: question regarding alias for context Hi, Maybe I will ask a stupid question but I did not found how to do it yet... I have 2 contexts in my Tomcat 4.1 ctxA and ctxB. My clients access them with full URLs: https://myserver.com/ctxA/page.jsp and https://myserver.com/ctxB/page.jsp Those contexts have different revisions of an application. I´d like to kill the ctxA making the clients access ctxB in a transparent way. I am trying to find a way of removing the webapp ctxA and configure the string "ctxA" as an alias to the context ctxB. Anyone could give me directions? Thank you very much. Alan -------- AVISO LEGAL - Esta mensagem e seu conteúdo - inclusive anexos - são para uso exclusivo de seu(s) destinatário(s), podendo conter informações confidenciais e/ou legalmente privilegiadas sobre a APPI Tecnologia S/A. Qualquer modificação, retransmissão, disseminação, impressão ou utilização não autorizada fica estritamente proibida. Se você recebeu esta mensagem por engano, por favor informe ao remetente e apague o material e as cópias de sua máquina. LEGAL ADVICE - This message - including any attachments - contains confidential and privileged information from APPI Tecnologia S/A intended for the named recipient(s) only. Any modification, copying, printing or distribution of this message or the taking of any action based on it is strictly prohibited. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. --------- Só imprima se for realmente necessário. Cada tonelada de papel poupado economiza de 17 a 20 eucaliptos com 7 anos de idade. Sua empresa também agradece. Print only if necessary. Each ton of non-used paper is equivalent to 17-20 young eucalyptus trees. Your company will also appreciate this economy. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLACK> Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]