I've got a "global" mod_jk configuration that covers cfm handling for all 
VirtualHosts

<IfModule !mod_jk.c>
    LoadModule jk_module /usr/lib64/httpd/modules/mod_jk.so
</IfModule>

<IfModule mod_jk.c>
    JkMount /*.cfm ajp13
    JkMount /*.cfc ajp13
    JkMount /*.do ajp13
    JkMount /*.jsp ajp13
    JkMount /*.cfchart ajp13
    JkMount /*.cfres ajp13
    JkMount /*.cfm/* ajp13
    JkMount /*.cfml/* ajp13
    JkMountCopy all
    JkLogFile /var/log/httpd/mod_jk.log
</IfModule>

I noticed another error in my original message. I wrote:

If I create two files, /www/blog/test.cfm and /www/blog/test.html and load 
them the .html loads OK while .cfm throws a File Not Found error fron BD. 
Apache access log for the requests:

[28/Apr/2011:05:22:06 +0000] "GET /blog/test.html HTTP/1.1" 200 25 "-"
[28/Apr/2011:05:22:08 +0000] "GET /blog/test.cfm HTTP/1.1" 404 385 "-" 

The requests were, of course:

[28/Apr/2011:05:22:06 +0000] "GET /blog/foobar/test.html HTTP/1.1" 200 25 
"-"
[28/Apr/2011:05:22:08 +0000] "GET /blog/foobar/test.cfm HTTP/1.1" 404 385 
"-" 

Loading /blog/test.cfm loads the test.cfm as it should.

So cfm files are loaded alright in every other case but when AliasMatch is 
used.

 Jari

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

Reply via email to