Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does the mod_jk module reads .htaccess, i know mod_proxy dont if you did something like this

ProxyPass / http://localhost:9080/

since you will be passing everything to the tomcat container. Will doing the same with JkMount work, e.g.

JkMount /ajp13
JkMount /* ajp13

Does it parse only jsp(even if i didnt specify explicilty) and leave the rest to apache, i would like to know how it internally work.

share|improve this question

No; proxied requests aren't mapped to filesystem locations, so the DocumentRoot and any .htaccess files in it don't apply.

The directives in your .htaccess should be placed in a <Location> block instead.

share|improve this answer
what about JKMount, how does it internally work, i know it lets apache handles the .htaccess – Yehia A.Salam Jan 6 '13 at 1:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.