View previous topic :: View next topic |
Author |
Message |
MHL Apprentice

Joined: 15 Jun 2004 Posts: 197
|
Posted: Wed May 03, 2006 12:38 am Post subject: How can i change the default htdocs for the tomcat |
|
|
Hi I just install the tomcat server in my gentoo box machine and try to learn some jsp.
currently, my tomcat server htdocs is located in /var/lib/tomcat-5/default/webapps/ROOT
where is the configuration file that I can change the location of my tomcat's htdocs?
thank you very much |
|
Back to top |
|
 |
m_spidey Guru


Joined: 28 Feb 2005 Posts: 312 Location: Planetexpress Ship
|
Posted: Wed May 03, 2006 2:50 am Post subject: |
|
|
Hello
It should be something like Code: | /etc/tomcat/server.xml |
or just do a search for `server.xml` that should lead you to the right place.
Cheers _________________ Ronald McDonald -> The necessary Evil. |
|
Back to top |
|
 |
MHL Apprentice

Joined: 15 Jun 2004 Posts: 197
|
Posted: Wed May 03, 2006 3:32 am Post subject: |
|
|
for some reason, I can't find it in server.xml or server-minimal.xml
I have use
Code: |
cat server.xml |grep "var"
cat server-minimal.xml |grep "var"
|
but seems return nothing.
oops,
I found it in
/etc/conf.d/tomcat-5
thank you. |
|
Back to top |
|
 |
|