jfclere 2004/03/03 03:19:26
Modified:jk/xdocs menu.jk2.idx
Added: jk/xdocs/jk2 davhowto.xml
Log:
Add something about using mod_dav and mod_jk2.
Revision ChangesPath
1.8 +1 -0 jakarta-tomcat-connectors/jk/xdocs/menu.jk2.idx
Index: menu.jk2.idx
===
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/menu.jk2.idx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- menu.jk2.idx 10 Apr 2003 15:37:50 - 1.7
+++ menu.jk2.idx 3 Mar 2004 11:19:25 - 1.8
@@ -18,4 +18,5 @@
section name=Howto
document href=jk2/confighowto.xml/
document href=jk2/vhosthowto.xml/
+document href=jk2/davhowto.xml/
/section
1.1 jakarta-tomcat-connectors/jk/xdocs/jk2/davhowto.xml
Index: davhowto.xml
===
?xml version=1.0?
document
properties
titleApache 2.x/mod-dav - Tomcat/jk2 - HOWTO/title
author email=[EMAIL PROTECTED]Jean-Frederic Clere/author
dateWed Mar 3 10:31:06 CET 2004/date
/properties
section name=Purpose
p
Use mod_dav to modify JSP pages.
/p
/section
section name=extract of httpd.conf
p
The Alias is NEEDED otherwise mod_jk2 translate hook will be called first...
That is a Hack it need to be fixed in mod_jk2.c
source
Alias /examples/jsp-source /home/jfclere/jakarta-tomcat-4.1.24/webapps/examples/jsp
lt;Location /examples/jsp-sourcegt;
Dav On
AuthType Basic
AuthName DAV
AuthUserFile user.passwd
lt;LimitExcept GET OPTIONSgt;
require user admin
lt;/LimitExceptgt;
lt;/Locationgt;
lt;LocationMatch /*.jspgt;
JkUriSet worker ajp13:localhost:8009
lt;/LocationMatchgt;
/source
The LocationMatch only maps the *.jsp files.
To have also the images it is possible to the DefaultServlet by mapping /examples.
source
lt;Location /examplesgt;
JkUriSet worker ajp13:localhost:8009
lt;/Locationgt;
/source
Or to get the images served by httpd and not by Tomcat.
source
Alias /examples/images /home/jfclere/jakarta-tomcat-4.1.24/webapps/examples/images
/source
source
/source
/p
/section
section name=extract of workers2.properties
p
The worker ajp13:localhost:8009 of the JkUriSet Directive has to be defined
in workers2.properties.
source
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
/source
/p
/section
/document
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]