adding that line make me able just to point the browser to myhost.localhost but not to show what I need. I think I have to manage in some way the .xml file with the <context> informations and parameters. But, suppose I want that myhost.localhost let me able to show as main context (the "/" one) what I have into the webapps/myapp folder. Well, now I have to put this .xml file into CATALINA_HOME/conf/Catalina/myhost.localhost. ok? is this right? But now... which name need to have this file? Do I need to modify server.xml too?
Tanks again. On 10/26/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Adding the 127.0.0.1 WhateverTheHostNameIs to hosts allows that config to properly resolve to 127.0.0.1 (without any mods to server.xml) M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents ----- Original Message ----- From: "Omar Adobati" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Thursday, October 26, 2006 6:35 AM Subject: [TOMCAT 5.5] Context configuration problem > Good Morning all, > > I need to setup a local virtual host, call it "myhost.localhost". I'm > using a linux box, and so I edited the /etc/hosts file adding the > line: > 127.0.0.1 myhost.localhost > > Now, I need some help. I read on the tomcat's doc that I can set up > the <context> into the $TOMCAT_HOME/conf/Catalina/myhost.localhost > but, two questions: > 1) Do I ned to configure the <host> into the server.xml too? > 2) What's the name to assign to the .xml to manage my application? I > mean the .xml file with the <context> infos. > > Thanks for your help! > > -- > Dr. Omar Adobati > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Dr. Omar Adobati [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]