Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can i change the default htdocs for the tomcat
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MHL
Apprentice
Apprentice


Joined: 15 Jun 2004
Posts: 197

PostPosted: Wed May 03, 2006 12:38 am    Post subject: How can i change the default htdocs for the tomcat Reply with quote

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
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Wed May 03, 2006 2:50 am    Post subject: Reply with quote

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
View user's profile Send private message
MHL
Apprentice
Apprentice


Joined: 15 Jun 2004
Posts: 197

PostPosted: Wed May 03, 2006 3:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum