!!! Goal
You are a Railo and Tomcat newbie and you want a directory to put your
coldfusion files in.
"tomcat\myapp\ROOT" would do nicely
!!! Preconditions (for me anyway)
* 64 bit Windows 7 home premium
* UAC turned off and stays off
* Java installed and JAVA_HOME set
!!! Main Success Scenario
1. Download Windows distribution
2. Install to C:\railo
3. Go to windows services and verify that Apache Tomcat Railo is
running
4. go to
http://localhost:8888/index.cfm and the welcome to Railo
should render
<Comment>
This page has a link to documentation called "creating new virtual
hosts". Note that this refers to Jetty and Resin but not Tomcat -
hence this post
</comment>
5. Use the Windows services control panel to stop Tomcat
6. In your Windows hosts file (C:\Windows\System32\drivers\etc\hosts)
create the entry:
127.0.0.1 myapp # Tomcat uses the host name to identify
the requested application.
7. create the directory c:\railo\tomcat\myapp
8. create \myapp\ROOT. (This is where you will keep your
application's .cfm files)
9. create \myapp\ROOT\index.cfm with the contents <cfdump var=
"#CGI#">
10. goto "C:\railo\tomcat\conf\Catalina\
a) create the directory \myapp
b) copy \localhost\manager.xml to \myapp and rename it to
ROOT.xml
11. Edit C:\railo\tomcat\conf\server.xml
a) Find the <Engine></Engine> node and insert
<Host name="myapp" appBase="myapp">
<Context path="keyapt" docBase="C:\railo\tomcat\myapp" />
12. Restart Tomcat. You will see /myapp/WEB-INF and /myapp/ROOT/WEB-
INF directories appear by magic.
13. Browse to
http://myapp/index.cfm and you should see the cfdump
14. The goal is complete
CAVEATS
I am a complete newbie and although this is working for me I don't
know whether it is the right way to do it.