This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding virtual directory

 
mateen dar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i want to add a virtual directory say c:\Project as a virtual directory how do i do it.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you clarify what you're trying to do? I'm not sure what you mean by "virtual directory".
 
mateen dar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to put my webapps in the above mentioned directory rather than in the tomcat\webapps directory.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mateen dar:
i want to put my webapps in the above mentioned directory rather than in the tomcat\webapps directory.


Any particular reasons? I couldn't think of any rational reason.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can change the appBase attribute of the Host entry in your TOMCAT_HOME/conf/server.xml file

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic