cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 davhowto.xml

2004-03-12 Thread jfclere
jfclere 2004/03/12 07:49:31

  Modified:jk/xdocs/jk2 davhowto.xml
  Log:
  Now mod_jk2 works better. The Alias is not mandatory.
  
  Revision  ChangesPath
  1.2   +1 -2  jakarta-tomcat-connectors/jk/xdocs/jk2/davhowto.xml
  
  Index: davhowto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/jk2/davhowto.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- davhowto.xml  3 Mar 2004 11:19:26 -   1.1
  +++ davhowto.xml  12 Mar 2004 15:49:31 -  1.2
  @@ -13,8 +13,7 @@
   
   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
  +The Alias is just for confort ;-)
   source
 Alias /examples/jsp-source 
/home/jfclere/jakarta-tomcat-4.1.24/webapps/examples/jsp
 lt;Location /examples/jsp-sourcegt;
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk2 davhowto.xml

2004-03-03 Thread jfclere
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]