########## Auto generated on Fri Dec 20 09:39:03 GMT-05:00 2002##########

<IfModule !mod_jk.c>
  LoadModule jk_module /usr/lib/apache/mod_jk.so
</IfModule>

JkWorkersFile "/usr/local/jakarta-tomcat-4.1.17/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-4.1.17/logs/mod_jk.log"

JkLogLevel emerg



<VirtualHost www.mydomainname.com>
    ServerName www.mydomainname.com

    #################### www.mydomainname.com:/admin ####################

    # Static files 
    Alias /admin "/usr/local/jakarta-tomcat-4.1.17/webapps/../server/webapps/admin"

    <Directory "/usr/local/jakarta-tomcat-4.1.17/webapps/../server/webapps/admin">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.htm index.jsp 
    </Directory>


    # Deny direct access to WEB-INF and META-INF
    #
    <Location "/admin/WEB-INF/*">
        AllowOverride None
        deny from all
    </Location>

    <Location "/admin/META-INF/*">
        AllowOverride None
        deny from all
    </Location>

    JkMount /admin/j_security_check  ajp13
    JkMount /admin/*.do  ajp13
    JkMount /admin/*.jsp  ajp13

    #################### www.mydomainname.com:/webdav ####################

    # Static files 
    Alias /webdav "/usr/local/jakarta-tomcat-4.1.17/webapps/webdav"

    <Directory "/usr/local/jakarta-tomcat-4.1.17/webapps/webdav">
        Options Indexes FollowSymLinks
        DirectoryIndex index.jsp index.html index.htm 
    </Directory>


    # Deny direct access to WEB-INF and META-INF
    #
    <Location "/webdav/WEB-INF/*">
        AllowOverride None
        deny from all
    </Location>

    <Location "/webdav/META-INF/*">
        AllowOverride None
        deny from all
    </Location>

    JkMount /webdav/*.jsp  ajp13

    #################### www.mydomainname.com:/examples ####################

    # Static files 
    Alias /examples "/usr/local/jakarta-tomcat-4.1.17/webapps/examples"

    <Directory "/usr/local/jakarta-tomcat-4.1.17/webapps/examples">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.htm index.jsp 
    </Directory>


    # Deny direct access to WEB-INF and META-INF
    #
    <Location "/examples/WEB-INF/*">
        AllowOverride None
        deny from all
    </Location>

    <Location "/examples/META-INF/*">
        AllowOverride None
        deny from all
    </Location>

    JkMount /examples/jsp/security/protected/j_security_check  ajp13
    JkMount /examples/snoop  ajp13
    JkMount /examples/servlet/*  ajp13
    JkMount /examples/CompressionTest  ajp13
    JkMount /examples/*.jsp  ajp13
    JkMount /examples/servletToJsp  ajp13
    JkMount /examples/SendMailServlet  ajp13

    #################### www.mydomainname.com:/tomcat-docs ####################

    # Static files 
    Alias /tomcat-docs "/usr/local/jakarta-tomcat-4.1.17/webapps/tomcat-docs"

    <Directory "/usr/local/jakarta-tomcat-4.1.17/webapps/tomcat-docs">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.htm index.jsp 
    </Directory>


    # Deny direct access to WEB-INF and META-INF
    #
    <Location "/tomcat-docs/WEB-INF/*">
        AllowOverride None
        deny from all
    </Location>

    <Location "/tomcat-docs/META-INF/*">
        AllowOverride None
        deny from all
    </Location>

    JkMount /tomcat-docs/*.jsp  ajp13

    #################### www.mydomainname.com:/manager ####################

    # Static files 
    Alias /manager "/usr/local/jakarta-tomcat-4.1.17/webapps/../server/webapps/manager"

    <Directory "/usr/local/jakarta-tomcat-4.1.17/webapps/../server/webapps/manager">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.htm index.jsp 
    </Directory>


    # Deny direct access to WEB-INF and META-INF
    #
    <Location "/manager/WEB-INF/*">
        AllowOverride None
        deny from all
    </Location>

    <Location "/manager/META-INF/*">
        AllowOverride None
        deny from all
    </Location>

    JkMount /manager/html/*  ajp13
    JkMount /manager/*  ajp13
    JkMount /manager/*.jsp  ajp13
</VirtualHost>

