RE: Renaming the ROOT directory ?

2004-09-20 Thread Shapira, Yoav
Hi, Oh, I had a good morning until reading this message. Your path attribute should have / and not . No No No No No No. Use path= for the default context, use path=/something for others, but never path=/. This has been repeated over and over on this list. Simply remove the ROOT webapp by

Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
I don't understand how to specify a default context. I'm currently working with tomcat-5.0.27 and my server is supporting 3 virtual hosts. In the config file (server.xml) I declare a default context with : Context path = docBase = my_app ... The directory 'my_app' is available in the

Re: Renaming the ROOT directory ?

2004-09-18 Thread Steve Job
Quoting Jean-Paul Le Fèvre [EMAIL PROTECTED]: - Is there a way to get rid of the 'ROOT' directory. - Is it possible to specify unambiguously the name of the default directory. If you are using a UNIX-like OS I have had good luck by just create symbolic links for the ROOT directory and point

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
Your path attribute should have / and not . Docbase should be (for your case, i will explain why it is wrong) webapps/my_app. This is a bad configuration, because you're telling to your host that its root dir is within the root of another host. better approach IMHO: create one webapps dir for

Re: Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
On Saturday 18 September 2004 14:13, John Villar wrote: Your path attribute should have / and not . No. According to the tomcat config doc : If you specify a context path of an empty string (), you are defining the default web application for this Host... Docbase should be (for your case, i

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
What's your tomcat version? could you post your server.xml file to see if there's something wrong? i'm using virtual hosts with default apps on tomcat 5.0.18 and used the configuration i told you, and works pretty well.. John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058

Re: Renaming the ROOT directory ?

2004-09-18 Thread Jean-Paul Le Fèvre
On Saturday 18 September 2004 16:42, John Villar wrote: What's your tomcat version? could you post your server.xml file to see if there's something wrong? i'm using virtual hosts with default apps on tomcat 5.0.18 and used the configuration i told you, and works pretty well..

Re: Renaming the ROOT directory ?

2004-09-18 Thread John Villar
Host name=edbg.fr debug = 0 appBase=webapps/eros unpackWARs=true autoDeploy=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=eros- suffix=.log / Context path = docBase = edbg.war debug = 0