>> From: martin [mailto:mrt...@googlemail.com]
>> Subject: problems with welcome files
>>
>> i have installed apache http 2.2.14 and tomcat 6.0.24.

>Step 1: Get httpd out of the game; test with Tomcat's HTTP <Connector>
first.  When that works, add httpd back in.

Ok, httpd is not running anymore

>> I added this to tomcats server.xml:
>>      <Host name="railo">
>>            <Context path="" docBase="C:/Tomcat6.0/webapps/
railo" />
>>      </Host>

>Step 2: the above gets you the railo webapp deployed twice, once as
default, once as railo.  Remove the <Context> element and rename the railo
directory to ROOT (case sensitive, even on Windows).

Ok, applied the changes

>Step 3: make sure the name "railo" is defined in your DNS box or hosts
file, or add an <Alias> to the above <Host> for usable domain name.

Added this Alias
 <Alias>127.0.0.1</Alias>

>> Railo has the following in its web.xml
>> <welcome-file-list>
>>      <welcome-file>index.cfm</welcome-file>
>>    <welcome-file>index.cfml</welcome-file>
>> </welcome-file-list>

> What else is in its web.xml?  (In particular, servlet mappings.)

    <servlet-mapping>
        <servlet-name>CFMLServlet</servlet-name>
        <url-pattern>*.cfm</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>CFMLServlet</servlet-name>
        <url-pattern>*.cfml</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>CFMLServlet</servlet-name>
        <url-pattern>*.cfc</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>AMFServlet</servlet-name>
        <url-pattern>/flashservices/gateway/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>FileServlet</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

>> http://railo/coldbox/dashboard/index.cfm   This works.
>> http://railo/coldbox/dashboard   Does not work. I get this:

>First fix your deployment problems as described above.

Ok, without httpd running
http://railo:8080/coldbox/dashboard/index.cfm   This works.
http://railo:8080/coldbox/dashboard   Does not work. I get the same error.

I have configured the railo server and added a mapping
"/"  mapps to "C:/webapps/viss-dev/"

In this directory lies an index.cfm (<html><body><h1>It
works!</h1></body></html>)
When i access http://railo:8080/ the index.cfm is shown, but when i try to
access a subdirectory that also contains an index.cfm i get this
FileNotFoundException.
Martin

> - Chuck

Reply via email to