4

I am setting up a new server using Apache, Tomcat and Railo ColdFusion. I am using mod_jk to connect Apache to Tomcat, and am using a CMS system on the java server. I want to forward every request to the Tomcat server except for a specific directory of files, because of the way the CMS works.

So I setup my JkMount in my site config like the following

JkMount /* ajp13w

This works just fine, but I want to now add an ignore for a directory which is actually an Alias. I tried add this line:

Alias /store /websites/eac/www/store
JkMount !/store ajp13w

But that won't work. Is there a way to forward all files, except /store to the Tomcat server with mod_jk?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Dave Long
  • 9,569
  • 14
  • 59
  • 89

1 Answers1

9

Try:

JkUnMount /store/* ajp13w
cherouvim
  • 31,725
  • 15
  • 104
  • 153