WAR files help

2003-09-22 Thread Giorgio Ponza
Hi all
i have my application running at www.demo.local
in Tomcat 4.1.24 Linux RH 9
the dir is /webapps/demo and the files are unpacked
Now i'd like to clear it and create a WAR file.
So i've done this
1. jar cf demo.war *
2. copied the file in /webapps
3. deleted the directory /webapps/demo
4. modified the server.xml with this
Host name=www.demo.local debug=0 appBase=webapps/demo 
unpackWARs=false
Logger className=org.apache.catalina.logger.FileLogger 
directory=logs prefix=demo. suffix=.txt timestamp=false /
Context path= docBase=/demo debug=0 reloadable=true
/Context
/Host

Now if i use http://www.demo.local/demo it works, but i want it to work 
with http://www.demo.local   without the app name as suffix
I have many applications on that tomcat, so using the app name is not good.
Any suggestions on how to proceed?
Tx in advance

Giorgio Ponza



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


WAR files help

2003-09-22 Thread Giorgio Ponza
Hi all
i have my application running at www.demo.local
in Tomcat 4.1.24 Linux RH 9
the dir is /webapps/demo and the files are unpacked
Now i'd like to clear it and create a WAR file.
So i've done this
1. jar cf demo.war *
2. copied the file in /webapps
3. deleted the directory /webapps/demo
4. modified the server.xml with this
Host name=www.demo.local debug=0 appBase=webapps/demo 
unpackWARs=false
Logger className=org.apache.catalina.logger.FileLogger 
directory=logs prefix=demo. suffix=.txt timestamp=false /
Context path= docBase=/demo debug=0 reloadable=true
/Context
/Host

Now if i use http://www.demo.local/demo it works, but i want it to work 
with http://www.demo.local   without the app name as suffix
I have many applications on that tomcat, so using the app name is not good.
Any suggestions on how to proceed?
Tx in advance

Giorgio Ponza



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]