#
# The following line instructs Apache to load the jk module
#
LoadModule jk_module modules/mod_jk.dll

JkWorkersFile "E:/SP3_For_Windows/AMS_Server_Windows/apache/tomcat/conf/workers.properties"
JkLogFile "E:/SP3_For_Windows/AMS_Server_Windows/apache/logs/mod_jk.log"

#
# Log level to be used by mod_jk
#
JkLogLevel info

#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /*.do ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
JkMount /admin_servlets/* ajp13
JkMount /unauthenticatedservlets/* ajp13

<Location "/servlet/org.apache.catalina.servlets.DefaultServlet/">
    AllowOverride None
    deny from all
</Location>

<Location "/servlets/org.apache.catalina.servlets.DefaultServlet/">
    AllowOverride None
    deny from all
</Location>

<Location "/unauthenticatedservlets/org.apache.catalina.servlets.DefaultServlet/">
    AllowOverride None
    deny from all
</Location>

<Location "/admin_servlets/org.apache.catalina.servlets.DefaultServlet/">
    AllowOverride None
    deny from all
</Location>

#
# The following line prohibits users from directly accessing WEB-INF
#
<Location "/WEB-INF/">
  AllowOverride None
  deny from all
</Location>

<Location "/WEB-INF./">
  AllowOverride None
  deny from all
</Location>

#
# On Windows, Location doesn't work unless case matches
#

<Location "/web-inf/">
  AllowOverride None
  deny from all
</Location>

<Location "/web-inf./">
  AllowOverride None
  deny from all
</Location>

