Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.