mturk       2004/12/04 04:01:52

  Modified:    jk/xdocs/config apache.xml
  Log:
  Explain JkAutoAlias directive.
  
  Revision  Changes    Path
  1.4       +41 -8     jakarta-tomcat-connectors/jk/xdocs/config/apache.xml
  
  Index: apache.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/config/apache.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apache.xml        3 Dec 2004 07:03:30 -0000       1.3
  +++ apache.xml        4 Dec 2004 12:01:52 -0000       1.4
  @@ -12,7 +12,7 @@
       </properties>
   
   <body>
  -

  +
   <section name="Configuration Directives">
   <p>
   Here are the all directives supported by Apache:
  @@ -56,19 +56,19 @@
   document space. 
   </p></attribute>
   <attribute name="JkHTTPSIndicator" required="false"><p>
  -Name of the Apache environment that contains SSL indication
  +Name of the Apache environment variable that contains SSL indication
   </p></attribute>
   <attribute name="JkCERTSIndicator" required="false"><p>
  -Name of the Apache environment that contains SSL client certificates
  +Name of the Apache environment variable that contains SSL client certificates
   </p></attribute>
   <attribute name="JkCIPHERIndicator" required="false"><p>
  -Name of the Apache environment that contains SSL client cipher
  +Name of the Apache environment variable that contains SSL client cipher
   </p></attribute>
   <attribute name="JkSESSIONIndicator" required="false"><p>
  -Name of the Apache environment that contains SSL session
  +Name of the Apache environment variable that contains SSL session
   </p></attribute>
   <attribute name="JkKEYSIZEIndicator" required="false"><p>
  -Name of the Apache environment that contains SSL key size in use
  +Name of the Apache environment variable that contains SSL key size in use
   </p></attribute>
   <attribute name="JkExtractSSL" required="false"><p>
   Turns on SSL processing and information gathering by mod_jk
  @@ -350,7 +350,40 @@
     JkUnMount /servlet/*.gif worker1
   </source>
   
  +<p>
  +<b>JkAutoAlias</b> directive automatically <b>Alias</b> webapp context 
directories into
  +the Apache document space. It enables Apache to serve a static context while 
Tomcat
  +serving dynamic context. This directive is used for convenience so that you 
don't
  +have to put an apache Alias directive for each application directory inside 
Tomcat's
  +webapp directory.
  +</p>
  +
  +<source>
  +  # enter the full path to the tomcat webapps directory
  +  JkAutoAlias /opt/tomtact/webapps
  +</source>
  +<p>The following example shows how to serve a dynamic context by
  +Tomcat and static using Apache. The webapps directory has to
  +be accessible by apache.</p>
  +
  +<source>
  +  # enter the full path to the tomcat webapps directory
  +  JkAutoAlias /opt/tomtact/webapps
  +
  +  # Mount 'servlets-examples' directory. It's physical location
  +  # is assumed to be in the /opt/tomtact/webapps/servlets-examples
  +  # ajp13w is a worker defined in the workers.properties
  +  JkMount /servlets-examples/* ajp13w
  +
  +  # Unmount desired static content from servlets-examples webapp.
  +  # This content will be served by the httpd directly.
  +  JkUnMount /servlets-examples/*.gif ajp13w
  +  JkUnMount /servlets-examples/*.jpg ajp13w
  +</source>
  +<p>Note that you can have a single JkAutoAlias directive per virtual
  +host inside your httpd.conf
  +</p>
   </subsection>
  - </section>

  -</body>

  + </section>
  +</body>
   </document>
  
  
  

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

Reply via email to