tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bcochofel <bruno.cocho...@gmail.com>
Subject Re: mod_jk configuration
Date Tue, 31 Oct 2006 16:16:11 GMT



Christopher Schultz-2 wrote:
> 
>> Here's my /etc/apache2/conf.d/jk.conf: 
>> http://www.nabble.com/file/3921/jk.conf jk.conf 
> 
> (These are never coming through. How are you trying to attach files?)
> 

I'm using Upload File... option. Here's a copy/paste:

# simple configuration for apache (for AJP connector, modul mod_jk.so)

<IfModule mod_jk.c>

    # workers file
    JkWorkersFile /etc/tomcat5/base/workers.properties
    # log file
    JkLogFile /usr/share/tomcat5/logs/mod_jk.log

    # Set the jk log level [debug/error/info]
    JkLogLevel    info
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat     "%w %V %T"

    ############### servlets-examples ####################

    Alias /servlets-examples
"/srv/www/tomcat5/base/webapps/servlets-examples"
    JkMount /servlets-examples ajp13
    JkMount /servlets-examples/*  ajp13
    #JkMount /servlets-examples/j_security_check ajp13
    
    ################### jps-examples ######################

    Alias /jsp-examples "/srv/www/tomcat5/base/webapps/jsp-examples"
    JkMount /jsp-examples ajp13
    JkMount /jsp-examples/*.jsp  ajp13
    JkMount /jsp-examples/j_security_check ajp13

    ################### cocoon ############################

    Alias /cocoon "/srv/www/tomcat5/base/webapps/cocoon"
    JkMount /cocoon ajp13
    JkMount /cocoon/*  ajp13
    #JkMount /cocoon/j_security_check ajp13
    
    #################### tomcat-docs ######################

    Alias /tomcat-docs "/srv/www/tomcat5/base/webapps/tomcat-docs"
    JkMount /tomcat-docs ajp13
    JkMount /tomcat-docs/*  ajp13
    #JkMount /tomcat-docs/j_security_check ajp13

    #################### security ##########################

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

</IfModule>

-- 
View this message in context: http://www.nabble.com/mod_jk-configuration-tf2539505.html#a7096982
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message