In these days, I've removed Adobe Coldfusion9 Developer version from my laptop and tried to install Railo 3.2 for testing about ORM feature of it. That's why I've installed the integrated installer of Railo. Before installation Railo, I feel I should remove existing apache from my laptop because I won't want any conflict will be come out because of Railo. Regarding Railo integrated installer documentation, it used Apache + Tomcat + Railo in it. That's why I feel I'm correct what I did.
After a few minutes, Railo is completely installed in my laptop. After that, I need to migrate my existing projects into Railo by configuration on Tomcat. That's why I need to create virtual directory on Tomcat. Well, I've posted create virtual directory in Apache and I feel create virtual directory on Tomcat will be same as what I've posted about.
Here is simple way to create virtual directory on Tomcat.
- 1) [tomcat_install]/tomcat/conf/Catalina/localhost/
- 2) create XML file. File name is the name of the virtual directory's name. If you created XML file name as posCFC.xml, your virtual directory will be "http://localhost/posCFC/"
3) add the following coding into this XML file.
<Context path="/POS" docBase="E:/Project/POS" debug="0" privileged="true">
- 4) Restart your Tomcat. (it's optional.)