> So I guess what I'm looking for is another way of handing .cfm files in
> Apache - something similar to BD Free's servlet-exec that just handles
> all the files thrown at it without proxying.



I want this too. This would be a custom connector. The thing about it is that it's quite involved. The apache module itself has to be custom-written and and the listener has to be customized to accept the info passed to it and handle it properly.

I've researched this, and the AJP protocol in it's current form would not support this. There's an AJP extension proposal that would include the information needed to support it, but I can't find any tentative plan to implement it. So... who knows when we'd be able to utilize that.

We need to make our own connector I think. That'd probably be better in the long run anyway.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
509.593.4207 x 1001

On 04/28/2011 11:20 AM, Jari Ketola wrote:


On Thursday, April 28, 2011 8:53:43 PM UTC+3, Jordan Michaels wrote:

     > So maybe mod_jk is handling the cfm before mod_alias has a chance to
     > touch it?

    Seems like a reasonable explaination to me.

    However, I'm not sure what governs the execution order of Apache
    modules. I googled it a bit, and only found that Apache manages it
    using
    an "internal" process. great >.<

That'll sure help in trying to fine tune it. ;-)

    You could try using mod_proxy instead of mod_jk and place your
    mod_proxy
    directives under your alias directives. Perhaps they will get executed
    first?

    Just a guess!

Actually I've thought about giving it a shot before, but haven't because
of performance worries.

Having now learned more about the way mod_jk and ajp actually work, I'm
starting to understand why AliasMatch doesn't work, and probably can't
work either. As AliasMatch does mapping to files, not URIs, and mod_jk
is basically just a proxy, aliasing doesn't have an effect on .cfm
templates.

So I guess what I'm looking for is another way of handing .cfm files in
Apache - something similar to BD Free's servlet-exec that just handles
all the files thrown at it without proxying. Is there a way to
accomplish this? Something that would just throw .cfm and .cfc files to
OpenBD for processing. Something that would allow me to keep all my
(tens, if not 100+) VirtualHosts in Apache configuration alone. The
outlook of configuring every single virtual host variation in both
Apache and server.xml is rather depressing to say the least, and feels
very Department of Redundancy Departmentish.

Jari

--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en

--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to