Railo, Tomcat IIS7 and default documents

I installed Railo v3.1 using Tomcat v6 - on a Windows 2008 server (32 bit). Everything seems to be working fine, except that no matter what I try, I cannot make it recognize my default document (index.cfm)

So:

http: //localhost/index.cfm = fine

http: // localhost = error 404.3

If I look at the error, IIS7 seems to use a static file handler to process the file. As far as I can tell, the 404 error does not apply to the file itself, but to the ISAPI handler used to process it. Which doesn't make much sense.

I tried to add a separate handler in IIS7, but to no avail.

I think this is a problem in IIS7 since I found several blogs and forum posts from people with similar problems using a different system. (Tomcat, jBoss, etc.)

Does anyone come across this or have a workaround?

More about my installation I strictly adhered to this guide:
http://www.hockeypfef.net/index.cfm/2009/3/12/Installing-Railo-3-on-Windows-200832bit-with-IIS7-and-Tomcat

+3
source share
4 answers

Including / * = wlb in the uriworkermap.properties file solved the problem. I installed the jBoss MSI installer version and looked at the properties files that it generated to find out!

The simple answer, but we go.

+2
source

, , Tomcat/Railo IIS. ISAPI-. , IIS, , Tomcat/Railo, IIS. Riaforge: http://tomcatiis.riaforge.org . ​​ Riaforge.

+1

, tomcat, IIS Railo, , (, .cfm/.cfc). .cfm 404.

IIS index.cfm?

microsoft

[edit] You can also check your uriworkermap.properties set / = wlb instead of /.cfm, basically redirect everything and everything to tomcat.

0
source

You must mark your comment as the answer, therefore the question is marked as the answer.

BTW, for those interested in launching Railo, CF or Open BD on Tomcat, Matt Woodward will talk about this this week at the Online ColdFusion Meetup , at 4:00 p.m. on Thursday, April 16th.

0
source

Source: https://habr.com/ru/post/1705837/


All Articles