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

Reply via email to