Suppose a virtual directory http://localhost:8080/
gandhi will be created on Tomcat 6.0, the virtual directory base directory is in
/home/gandhi/tomcat-home. The steps to create the virtual directory are as follows:
- Create a file named gandhi.xml in $CATALINA_HOME/conf/Catalina/localhost/
- Type the following configuration:
gandhi" docBase="/home/gandhi/tomcat-home" debug="0" privileged="true">
Now restart the tomcat, and the virtual directory will be up and running.
-gandhi
No comments:
Post a Comment