Finally I've found a solution that worked for me.
I've chosen the route with Micorsoft ARR.
It works like this: IIS gets a request, and redirects it based on
rewrite-rules to the tomcat server on port 8888 (localhost:8888).
In the rewrite rule you can configure that just cfm,cfc,jsp request
are redirected to tomcat and other files will served from IIS (e.g.:
jpg,gif etc.)
here is a guide for setting up ARR with tomcat.
http://blogs.iis.net/eokim/archive/2010/03/09/arr-with-tomcat.aspx
just watch out for the right port. in the example it is :8080, my
tomcat runnes on 8888...
after setting it up i created an ingoing rewrite rule to get rid of
the /index.cfm/sitename
Pattern: ^([^/]+)?$
Rewrite URL: index.cfm/{R:1}
this works fine for me.
All websites in IIS will now have this rule. maybe you can just
configure one site instead of all, but i havent investigated on that.
I just made some conditions to exclude specific domains or files.
For the redirect to Tomact the rule goes like this:
Pattern (wildcards): *
Action: Route to Server Farm
Scheme: http://
Server Farm: Tomcat (just the name)
Path: /{R:0}
Yeah thats basically it.
You can also create some rules to protect the railo-context dir.
Performance is really good, i think better than with the isapi-rewrite
because it has some caching built in.
If you have some more questions or don't understand my poor english
(or want this in german) you can always ask me.
I can also write a better guide if you want. with better english
grammer ;)
regards
On Jan 12, 9:35 am, Maertsch <
marco.spes...@gmail.com> wrote:
> Well... i have changed the uriworkermap.properties.
>
> i added the following line:
> /test=railolb (all other mappings are with railolb, guess you meant
> that)
>
> and i did the servlet-mapping.
>
> Now i call the URL "
http://site.com/test". IIS passes it through to
> tomcat, tomcat passes it railo and Railo says: "File 'test' not found
> (missingInclude)".
> It looks like IIS didn't rewrote the URL. Or it did and tomcat doesn't
> know about it^^
>
> At least the request get to tomcat/railo and i get a railo-response,
> so this took me a bit further down the road :)
>
> I will try to rewrite the url with Tomcat. may that works.
>
> Help still appreciated.
>
> regards,
> Marco Spescha
>