JkMount Ignore Alias

I am setting up a new server using Apache, Tomcat and Railo ColdFusion. I use mod_jk to connect Apache to Tomcat and use the CMS system on a java server. I want to redirect every request to the Tomcat server, with the exception of a specific file directory, due to how the CMS works.

So, I am setting up my JkMount in my site configuration as shown below.

JkMount /* ajp13w 

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

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

But that will not work. Is there a way to redirect all files except / store to Tomcat server using mod_jk?

+4
source share
1 answer

Try:

 JkUnMount /store/* ajp13w 
+8
source

All Articles