tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Adamson" <scottadam...@sywaretech.com.au>
Subject Re: Can't get tomcat 4 + mod_jk + apache to work
Date Tue, 20 Aug 2002 13:02:27 GMT
Here's the contents of my mod_jk.conf :


########## Auto generated on Tue Aug 20 19:28:15 EST 2002##########

<IfModule !mod_jk.c>
  LoadModule jk_module /usr/local/apache2/libexec/mod_jk-3.3-ap13-noeapi.so
</IfModule>

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

JkLogLevel emerg



<VirtualHost toecutter>
    ServerName toecutter

    #################### toecutter:/examples ####################

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

    <Directory "/usr/local/jakarta-tomcat-4.0.4/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/CompressionTest  ajp13
    JkMount /examples/*.jsp  ajp13
    JkMount /examples/servlet/*  ajp13
    JkMount /examples/servletToJsp  ajp13
    JkMount /examples/SendMailServlet  ajp13

    #################### toecutter:/webdav ####################

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

    <Directory "/usr/local/jakarta-tomcat-4.0.4/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
    JkMount /webdav/servlet/*  ajp13

    #################### toecutter:/tomcat-docs ####################

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

    <Directory "/usr/local/jakarta-tomcat-4.0.4/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
    JkMount /tomcat-docs/servlet/*  ajp13

    #################### toecutter:/manager ####################

    # Static files
    Alias /manager "/usr/local/jakarta-tomcat-4.0.4/webapps/manager"

    <Directory "/usr/local/jakarta-tomcat-4.0.4/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/*.jsp  ajp13
    JkMount /manager/servlet/*  ajp13
    JkMount /manager/*  ajp13

    #################### toecutter:/sywareTech ####################

    # Static files
    Alias /sywareTech "/usr/local/jakarta-tomcat-4.0.4/webapps/sywareTech"

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


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

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

    JkMount /sywareTech/*.jsp  ajp13
    JkMount /sywareTech/servlet/*  ajp13
</VirtualHost>

----- Original Message -----
From: "Sullivan, Mark E" <Mark.Sullivan@nav-international.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, August 20, 2002 11:37 PM
Subject: RE: Can't get tomcat 4 + mod_jk + apache to work


> it would be very helpful if you could post the contents of this file:
>
> /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf
>
> Otherwise, solving this problem will be very difficult
>
> > Scott Adamson
> > Systems Administrator
> > Syware Technology
> >
> > scottadamson@sywaretech.com.au
> > http://upe.com.au
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message