cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2005-07-04 Thread jfclere
jfclere 2005/07/04 00:11:43

  Modified:jk/xdocs/config apache.xml
  Log:
  Fix 34687.
  
  Revision  ChangesPath
  1.14  +2 -2  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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- apache.xml18 May 2005 18:04:53 -  1.13
  +++ apache.xml4 Jul 2005 07:11:43 -   1.14
  @@ -88,7 +88,7 @@
   Shared memory file name. Used only on unix platforms.
   /p/attribute
   attribute name=JkShmSize required=falsep
  -Size of the shared memory file name. Default is 1MB.
  +Size of the shared memory file name. Default is 64 k.
   /p/attribute
   
   /attributes
  @@ -377,7 +377,7 @@
   pbJkUnmount/b directive acts as an opposite to JkMount and blocks 
access
   to a particular URL. The purpose is to be able to filter out the particular 
content
   types from mounted context. The following example mounts /servlet/*
  -context, but all .jpg files that belongs to that context are not served.
  +context, but all .gif files that belongs to that context are not served.
   /p
   source
 # send all requests ending with /servlet to worker1
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2005-05-18 Thread mturk
mturk   2005/05/18 11:04:53

  Modified:jk/native/apache-1.3 mod_jk.c
   jk/native/apache-2.0 mod_jk.c
   jk/native/common jk_ajp_common.c jk_global.h jk_service.h
   jk/native/iis jk_isapi_plugin.c
   jk/native/netscape jk_nsapi_plugin.c
   jk/xdocs changelog.xml
   jk/xdocs/config apache.xml
  Log:
  Adde FlushPackets option.
  
  Revision  ChangesPath
  1.83  +19 -7 jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
  
  Index: mod_jk.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- mod_jk.c  15 May 2005 11:10:11 -  1.82
  +++ mod_jk.c  18 May 2005 18:04:52 -  1.83
  @@ -300,6 +300,15 @@
   return JK_FALSE;
   }
   
  +static void JK_METHOD ws_flush(jk_ws_service_t *s)
  +{
  +if (s  s-ws_private) {
  +apache_private_data_t *p = s-ws_private;
  +BUFF *bf = p-r-connection-client;
  +ap_bflush(bf);
  +}
  +}
  +
   /*
* Write a chunk of response data back to the browser.  If the headers
* haven't yet been sent over, send over default header values (Status =
  @@ -317,7 +326,6 @@
   apache_private_data_t *p = s-ws_private;
   
   if (len) {
  -BUFF *bf = p-r-connection-client;
   char *buf = (char *)b;
   int w = (int)len;
   int r = 0;
  @@ -329,6 +337,7 @@
   }
   
   if (p-r-header_only) {
  +BUFF *bf = p-r-connection-client;
   ap_bflush(bf);
   return JK_TRUE;
   }
  @@ -351,11 +360,6 @@
   }
   
   }
  -
  -/*
  - * To allow server push.
  - */
  -ap_bflush(bf);
   }
   
   return JK_TRUE;
  @@ -436,6 +440,7 @@
   s-start_response = ws_start_response;
   s-read = ws_read;
   s-write = ws_write;
  +s-flush = ws_flush;
   
   /* Clear RECO status */
   s-reco_status = RECO_NONE;
  @@ -454,6 +459,10 @@
   else
   s-remote_addr = NULL_FOR_EMPTY(r-connection-remote_ip);
   
  +if (conf-options  JK_OPT_FLUSHPACKETS)
  +s-flush_packets = 1;
  +else
  +s-flush_packets = 0;
   /* get server name */
   /* s-server_name  = (char *)(r-hostname ? r-hostname : 
r-server-server_hostname); */
   /* XXX : à la jk2 */
  @@ -1503,6 +1512,9 @@
   else if (!strcasecmp(w, ForwardLocalAddress)) {
   opt = JK_OPT_FWDLOCAL;
   }
  +else if (!strcasecmp(w, FlushPackets)) {
  +opt = JK_OPT_FLUSHPACKETS;
  +}
   else
   return ap_pstrcat(cmd-pool, JkOptions: Illegal option ', w,
 ', NULL);
  
  
  
  1.146 +14 -14jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
  
  Index: mod_jk.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
  retrieving revision 1.145
  retrieving revision 1.146
  diff -u -r1.145 -r1.146
  --- mod_jk.c  15 May 2005 11:10:11 -  1.145
  +++ mod_jk.c  18 May 2005 18:04:52 -  1.146
  @@ -317,6 +317,14 @@
   return JK_FALSE;
   }
   
  +static void JK_METHOD ws_flush(jk_ws_service_t *s)
  +{
  +if (s  s-ws_private) {
  +apache_private_data_t *p = s-ws_private;
  +ap_rflush(p-r);
  +}
  +}
  +
   /*
* Write a chunk of response data back to the browser.  If the headers
* haven't yet been sent over, send over default header values (Status =
  @@ -387,18 +395,6 @@
   }
   
   }
  -
  -/*
  - * To allow server push. After writing full buffers
  - */
  -#ifndef AS400
  -if (ap_rflush(p-r) != APR_SUCCESS) {
  -ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_CRIT, 0,
  - NULL, mod_jk: Error flushing);
  -return JK_FALSE;
  -}
  -#endif
  -
   }
   
   return JK_TRUE;
  @@ -462,6 +458,7 @@
   s-start_response = ws_start_response;
   s-read = ws_read;
   s-write = ws_write;
  +s-flush = ws_flush;
   
   /* Clear RECO status */
   s-reco_status = RECO_NONE;
  @@ -478,7 +475,10 @@
   s-remote_addr = NULL_FOR_EMPTY(r-connection-local_ip);
   else
   s-remote_addr = NULL_FOR_EMPTY(r-connection-remote_ip);
  -
  +if (conf-options  JK_OPT_FLUSHPACKETS)
  +s-flush_packets = 1;
  +else
  +s-flush_packets = 0;
   /* get server name */
   s-server_name = (char *)ap_get_server_name(r);
   
  
  
  
  1.117 +15 -12
jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
  

cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2005-05-07 Thread mturk
mturk   2005/05/07 01:15:47

  Modified:jk/native/apache-1.3 mod_jk.c
   jk/native/apache-2.0 mod_jk.c
   jk/native/common jk_global.h jk_version.h
   jk/xdocs changelog.xml
   jk/xdocs/config apache.xml
  Log:
  Added ForwardLocalAddress JkOptions flag. This can be used to limit
  the access to Tomcat using remote address valve with AJP protocol.
  
  Revision  ChangesPath
  1.80  +28 -3 jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
  
  Index: mod_jk.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- mod_jk.c  30 Apr 2005 06:02:49 -  1.79
  +++ mod_jk.c  7 May 2005 08:15:47 -   1.80
  @@ -65,6 +65,7 @@
   #define JK_DURATION (jakarta.worker.duration)
   #define JK_MAGIC_TYPE   (application/x-jakarta-servlet)
   #define NULL_FOR_EMPTY(x)   ((x  !strlen(x)) ? NULL : x)
  +#define STRNULL_FOR_NULL(x) ((x) ? (x) : (null))
   
   /*
* If you are not using SSL, comment out the following line. It will make
  @@ -447,8 +448,11 @@
   (char *)ap_get_remote_host(r-connection, r-per_dir_config,
  REMOTE_HOST);
   s-remote_host = NULL_FOR_EMPTY(s-remote_host);
  -
  -s-remote_addr = NULL_FOR_EMPTY(r-connection-remote_ip);
  +
  +if (conf-options  JK_OPT_FWDLOCAL)
  +s-remote_addr = NULL_FOR_EMPTY(r-connection-local_ip);
  +else
  +s-remote_addr = NULL_FOR_EMPTY(r-connection-remote_ip);
   
   /* get server name */
   /* s-server_name  = (char *)(r-hostname ? r-hostname : 
r-server-server_hostname); */
  @@ -468,6 +472,24 @@
   s-no_more_chunks = 0;
   s-query_string = r-args;
   
  +/* Dump all connection param so we can trace what's going to
  + * the remote tomcat
  + */
  +if (JK_IS_DEBUG_LEVEL(conf-log)) {
  +jk_log(conf-log, JK_LOG_DEBUG,
  +   Service protocol=%s method=%s host=%s addrr=%s name=%s 
port=%d auth=%s user=%s laddr=%s raddr=%s,
  +   STRNULL_FOR_NULL(s-protocol),
  +   STRNULL_FOR_NULL(s-method),
  +   STRNULL_FOR_NULL(s-remote_host),
  +   STRNULL_FOR_NULL(s-remote_addr),
  +   STRNULL_FOR_NULL(s-server_name),
  +   s-server_port,
  +   STRNULL_FOR_NULL(s-auth_type),
  +   STRNULL_FOR_NULL(s-remote_user),
  +   STRNULL_FOR_NULL(r-connection-local_ip),
  +   STRNULL_FOR_NULL(r-connection-remote_ip));
  +}
  +
   /*
* The 2.2 servlet spec errata says the uri from
* HttpServletRequest.getRequestURI() should remain encoded.
  @@ -1478,6 +1500,9 @@
   else if (!strcasecmp(w, ForwardDirectories)) {
   opt = JK_OPT_FWDDIRS;
   }
  +else if (!strcasecmp(w, ForwardLocalAddress)) {
  +opt = JK_OPT_FWDLOCAL;
  +}
   else
   return ap_pstrcat(cmd-pool, JkOptions: Illegal option ', w,
 ', NULL);
  
  
  
  1.143 +27 -17jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
  
  Index: mod_jk.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
  retrieving revision 1.142
  retrieving revision 1.143
  diff -u -r1.142 -r1.143
  --- mod_jk.c  30 Apr 2005 06:02:19 -  1.142
  +++ mod_jk.c  7 May 2005 08:15:47 -   1.143
  @@ -99,7 +99,7 @@
   #define JK_DURATION (jakarta.worker.duration)
   #define JK_MAGIC_TYPE   (application/x-jakarta-servlet)
   #define NULL_FOR_EMPTY(x)   ((x  !strlen(x)) ? NULL : x)
  -
  +#define STRNULL_FOR_NULL(x) ((x) ? (x) : (null))
   /*
* If you are not using SSL, comment out the following line. It will make
* apache run faster.
  @@ -474,21 +474,10 @@
   r-per_dir_config,
   REMOTE_HOST, NULL);
   s-remote_host = NULL_FOR_EMPTY(s-remote_host);
  -s-remote_addr = NULL_FOR_EMPTY(r-connection-remote_ip);
  -
  -/* Dump all connection param so we can trace what's going to
  - * the remote tomcat
  - */
  -if (JK_IS_DEBUG_LEVEL(conf-log))
  -jk_log(conf-log, JK_LOG_DEBUG,
  -   agsp=%u agsn=%s hostn=%s shostn=%s cbsport=%d sport=%d 
claport=%d,
  -   ap_get_server_port(r),
  -   ap_get_server_name(r) != NULL ? ap_get_server_name(r) : ,
  -   r-hostname != NULL ? r-hostname : ,
  -   r-server-server_hostname !=
  -   NULL ? r-server-server_hostname : ,
  -   r-connection-base_server-port, r-server-port,
  -   r-connection-local_addr-port);
  +if (conf-options  

cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml workers.xml

2004-12-18 Thread mturk
mturk   2004/12/18 04:48:34

  Modified:jk/xdocs/config apache.xml workers.xml
  Log:
  Run spell checker. Sorry, but there is still no grammar checker :)
  
  Revision  ChangesPath
  1.10  +10 -10jakarta-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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- apache.xml13 Dec 2004 09:46:29 -  1.9
  +++ apache.xml18 Dec 2004 12:48:33 -  1.10
  @@ -46,10 +46,10 @@
   error or trace
   /p/attribute
   attribute name=JkLogStampFormat required=falsep
  -The Jakarta Tomcat Connector module bdate/b log format, follow strftime 
synthax
  +The Jakarta Tomcat Connector module bdate/b log format, follow strftime 
syntax
   /p/attribute
   attribute name=JkRequestLogFormat required=falsep
  -Request log format string. See datailed description below.
  +Request log format string. See detailed description below.
   /p/attribute
   attribute name=JkAutoAlias required=falsep
   Automatically Alias webapp context directories into the Apache
  @@ -75,7 +75,7 @@
   /p/attribute
   attribute name=JkOptions required=falsep
   Set one of more options to configure the mod_jk module. See below for
  -deatails about this directive
  +details about this directive
   /p/attribute
   attribute name=JkEnvVar required=falsep
   Adds a name of environment variable that should be sent to servlet-engine
  @@ -151,7 +151,7 @@
   /p
   
   p
  -bJkLogStampFormat/b will configure the date/time format found on mod_jk 
logfile. 
  +bJkLogStampFormat/b will configure the date/time format found on mod_jk 
log file. 
   Using the strftime() format string it's set bybr /
   default to b[%a %b %d %H:%M:%S %Y]/b
   /p
  @@ -169,7 +169,7 @@
   bJkRequestLogFormat/b will configure the format of mod_jk individual 
request logging. 
   Request logging is configured and enabled on a per virtual host basis. 
   To enable request logging for a virtual host just add a JkRequestLogFormat 
config. 
  -The syntax of the format string is similiar to the Apache LogFormat command, 
  +The syntax of the format string is similar to the Apache LogFormat command, 
   here is a list of the available request log format options:
   /p
  
  @@ -357,8 +357,8 @@
   source
 # do not send requests ending with .gif to worker1
 JkUnMount /*.gif worker1
  -  # The .gif files will not be mouted cause JkUnMount takes
  -  # precedance over JkMount directive
  +  # The .gif files will not be mounted cause JkUnMount takes
  +  # precedence over JkMount directive
 JkMount /servlet/*.gif worker1
   /source
   
  @@ -397,12 +397,12 @@
   /p
   p
   bJkWorkerProperty/b is a new directive available from JK 1.2.7
  -version. It is a convinient method for seting directives that are
  -usualy set insice bworkers.propeties/bfile. The parameter for
  +version. It is a convenient method for setting directives that are
  +usually set inside bworkers.propeties/bfile. The parameter for
   that directive is raw line from workers.properties file.
   /p
   source
  -  # Just like workers.properties but exach line is prefixed
  +  # Just like workers.properties but exact line is prefixed
 # with JkWorkerProperty
   
 # Minimal jk configuration
  
  
  
  1.8   +24 -17jakarta-tomcat-connectors/jk/xdocs/config/workers.xml
  
  Index: workers.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/config/workers.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- workers.xml   14 Dec 2004 08:48:07 -  1.7
  +++ workers.xml   18 Dec 2004 12:48:33 -  1.8
  @@ -46,8 +46,6 @@
   Tomcat workers are defined in a properties file dubbed 
bworkers.properties/b and this tutorial 
   explains how to work with it.
   /p
  -pThe generic workers.properties directive is in the form:/p
  -pstrongworker.lt;worker 
namegt;.lt;directivegt;=lt;valuegt;/strong/p
   /section

   section name=Directives
  @@ -62,11 +60,13 @@
   /p
   
   subsection name=Defining workers
  +pThe generic workers.properties directive is in the form:/p
  +pstrongworker.lt;worker 
namegt;.lt;directivegt;=lt;valuegt;/strong/p
   pDefining workers to the Tomcat web server plugin can be done using a 
properties file
   (a sample file named workers.properties is available in the conf/ directory).
   /p
   directives
  -directive name=worker.list required=true
  +directive name=worker.list default=ajp13 required=true
   A comma separated list of workers names that the JK will use. When starting 
up,
   the web server plugin will instantiate the workers whose name appears in the
   worker.list property, these are also the workers to whom you can map 
requests. 
  @@ -93,18 

cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2004-12-13 Thread mturk
mturk   2004/12/13 01:31:45

  Modified:jk/xdocs/config apache.xml
  Log:
  Explain unmount directive more detailed.
  
  Revision  ChangesPath
  1.7   +12 -0 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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- apache.xml4 Dec 2004 12:28:21 -   1.6
  +++ apache.xml13 Dec 2004 09:31:45 -  1.7
  @@ -349,6 +349,18 @@
 # do not send requests ending with .gif to worker1
 JkUnMount /servlet/*.gif worker1
   /source
  +p
  +JkUnMount takes precedence over JkMount directives, meaning that the JK
  +will first look for unmount and then for unmount directives. The following
  +example will block all .gif files.
  +/p
  +source
  +  # send all requests ending with /servlet to worker1
  +  JkUnMount /*.gif worker1
  +  # The .gif files will not be mouted cause JkUnMount takes
  +  # precedance over JkMount directive
  +  JkMount /servlet/*.gif worker1
  +/source
   
   p
   bJkAutoAlias/b directive automatically bAlias/b webapp context 
directories into
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2004-12-13 Thread mturk
mturk   2004/12/13 01:46:29

  Modified:jk/xdocs/config apache.xml
  Log:
  Fix typo.
  
  Revision  ChangesPath
  1.9   +1 -1  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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- apache.xml13 Dec 2004 09:38:48 -  1.8
  +++ apache.xml13 Dec 2004 09:46:29 -  1.9
  @@ -355,7 +355,7 @@
   example will block all .gif files.
   /p
   source
  -  # send all requests ending with /servlet to worker1
  +  # do not send requests ending with .gif to worker1
 JkUnMount /*.gif worker1
 # The .gif files will not be mouted cause JkUnMount takes
 # precedance over JkMount directive
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2004-12-13 Thread mturk
mturk   2004/12/13 01:38:48

  Modified:jk/xdocs/config apache.xml
  Log:
  Fix typo.
  
  Revision  ChangesPath
  1.8   +1 -1  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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- apache.xml13 Dec 2004 09:31:45 -  1.7
  +++ apache.xml13 Dec 2004 09:38:48 -  1.8
  @@ -351,7 +351,7 @@
   /source
   p
   JkUnMount takes precedence over JkMount directives, meaning that the JK
  -will first look for unmount and then for unmount directives. The following
  +will first look for unmount and then for mount directives. The following
   example will block all .gif files.
   /p
   source
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2004-12-04 Thread mturk
mturk   2004/12/04 04:01:52

  Modified:jk/xdocs/config apache.xml
  Log:
  Explain JkAutoAlias directive.
  
  Revision  ChangesPath
  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.xml3 Dec 2004 07:03:30 -   1.3
  +++ apache.xml4 Dec 2004 12:01:52 -   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=falsep
  -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=falsep
  -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=falsep
  -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=falsep
  -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=falsep
  -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=falsep
   Turns on SSL processing and information gathering by mod_jk
  @@ -350,7 +350,40 @@
 JkUnMount /servlet/*.gif worker1
   /source
   
  +p
  +bJkAutoAlias/b directive automatically bAlias/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
  +pThe 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
  +pNote 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]



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2004-12-04 Thread mturk
mturk   2004/12/04 04:23:56

  Modified:jk/xdocs/config apache.xml
  Log:
  Explain JkWorkerProperty directive
  
  Revision  ChangesPath
  1.5   +18 -0 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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apache.xml4 Dec 2004 12:01:52 -   1.4
  +++ apache.xml4 Dec 2004 12:23:56 -   1.5
  @@ -383,6 +383,24 @@
   pNote that you can have a single JkAutoAlias directive per virtual
   host inside your httpd.conf
   /p
  +p
  +bJkWorkerProperty/b is a new directive available from JK 1.2.7
  +version. It is a convinient method for seting directives that are
  +usualy set insice bworkers.propeties/bfile. The parameter for
  +that directive is raw line from workers.properties file.
  +/p
  +source
  +  # Just like workers.properties but exach line is prefixed
  +  # with JkWorkerProperty
  +
  +  # Minimal jk configuration
  +  JkWorkerProperty worker.list=ajp13worker
  +  JkWorkerProperty worker.ajp13w.type=ajp13
  +  JkWorkerProperty worker.ajp13w.host=localhost
  +  JkWorkerProperty worker.ajp13w.port=8009   
  +/source
  +
  +
   /subsection
/section
   /body
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2004-12-04 Thread mturk
mturk   2004/12/04 04:28:21

  Modified:jk/xdocs/config apache.xml
  Log:
  Fix typo.
  
  Revision  ChangesPath
  1.6   +1 -1  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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- apache.xml4 Dec 2004 12:23:56 -   1.5
  +++ apache.xml4 Dec 2004 12:28:21 -   1.6
  @@ -394,7 +394,7 @@
 # with JkWorkerProperty
   
 # Minimal jk configuration
  -  JkWorkerProperty worker.list=ajp13worker
  +  JkWorkerProperty worker.list=ajp13w
 JkWorkerProperty worker.ajp13w.type=ajp13
 JkWorkerProperty worker.ajp13w.host=localhost
 JkWorkerProperty worker.ajp13w.port=8009   
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml

2004-12-02 Thread mturk
mturk   2004/12/02 23:03:30

  Modified:jk/xdocs index.xml
   jk/xdocs/config apache.xml
  Log:
  Fix some minor doc typos.
  
  Revision  ChangesPath
  1.26  +3 -0  jakarta-tomcat-connectors/jk/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/index.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- index.xml 30 Nov 2004 09:16:01 -  1.25
  +++ index.xml 3 Dec 2004 07:03:29 -   1.26
  @@ -33,6 +33,9 @@
   of Jakarta Tomcat Connectors 1.2.7-beta. The release contains a significant 
number

   of bug fixes and new features. 

   /p
  +pDownlad the a 
href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jakarta-tomcat-connectors-1.2.7-beta-1.tar.gz;JK
 1.2.7 beta sources/a
  + | a 
href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jakarta-tomcat-connectors-1.2.7-beta-1.tar.gz.asc;PGP
 signature/a
  +/p
   /li
   lia href=news/20041100.html#20041115.115 November 2004 - bJK2 is 
officially unsupported!/b/a
   pJK2 has been put in maintainer mode and no further development will take 
place.
  
  
  
  1.3   +13 -22jakarta-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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- apache.xml30 Nov 2004 07:35:37 -  1.2
  +++ apache.xml3 Dec 2004 07:03:30 -   1.3
  @@ -124,24 +124,23 @@
   
   ul
   li
  -binfo/b log will contains standard mod_jk activity (default).
  +binfo/b log will contain standard mod_jk activity (default).
   /li
   li
  -li
  -bwarn/b log will contains non fatal error reports.
  +bwarn/b log will contain non fatal error reports.
   /li
  -berror/b log will contains also error reports.
  +li
  +berror/b log will contain also error reports.
   /li
   li
  -bdebug/b log will contains all informations on mod_jk activity
  +bdebug/b log will contain all information on mod_jk activity
   /li
   li
  -btrace/b log will contains all tracing informations on mod_jk activity
  +btrace/b log will contain all tracing information on mod_jk activity
   /li
   /ul
   
  -source
  -  
  +source  
 JkLogLevelinfo
   /source
   
  @@ -158,7 +157,6 @@
   /p
   
   source
  -  
 JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
   /source
   
  @@ -193,7 +191,6 @@
   /attributes
   
   source
  -
 JkRequestLogFormat %w %V %T
   /source
   
  @@ -216,8 +213,7 @@
   required by Servlet API 2.3.
   This flag shouldn't be set when servlet engine is Tomcat 3.2.x (on by 
default).
   
  -source
  -  
  +source  
 JkOptions +ForwardKeySize
   /source
   
  @@ -230,8 +226,7 @@
   which is less spec compliant but mod_rewrite compatible, 
   use it for compatibility with Tomcat 3.2.x engines (on by default).
   
  -source
  -  
  +source  
 JkOptions +ForwardURICompat
   /source
   
  @@ -243,8 +238,7 @@
   JkOptions bForwardURICompatUnparsed/b, the forwarded URI 
   is unparsed, it's spec compliant but broke mod_rewrite.
   
  -source
  -  
  +source  
 JkOptions +ForwardURICompatUnparsed
   /source
   
  @@ -256,8 +250,7 @@
   JkOptions bForwardURIEscaped/b, the forwarded URI is escaped and 
   Tomcat (since 3.3 rc2) will do the decoding part.
   
  -source
  -  
  +source  
 JkOptions +ForwardURIEscaped
   /source
   
  @@ -299,8 +292,7 @@
   that's going to get served). This is important if there is more then one 
type of
   file that Tomcat normally serves - for instance Velocity pages and JSP pages.
   
  -source
  -  
  +source  
 JkOptions +ForwardDirectories
   /source
   br/
  @@ -310,8 +302,7 @@
   p
   The directive bJkEnvVar/b allow you to forward an environment vars from 
Apache server to Tomcat engine.
   
  -source
  -  
  +source  
 JkEnvVar SSL_CLIENT_V_START
   /source
   br/
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs/config apache.xml iis.xml project.xml workers.xml

2004-11-18 Thread mturk
mturk   2004/11/18 10:28:54

  Added:   jk/xdocs/config apache.xml iis.xml project.xml workers.xml
  Log:
  Add new configuration documents
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-connectors/jk/xdocs/config/apache.xml
  
  Index: apache.xml
  ===
  ?xml version=1.0?
  !DOCTYPE document [
!ENTITY project SYSTEM project.xml
  ]
  document url=apache.html
  
  project; 
  
  properties
  author email=[EMAIL PROTECTED]Mladen Turk/author
  titleConfiguring Apache/title
  /properties
  
  body
  

  section name=Configuration Directives
  p
  Here are the all directives supported by Apache:
  /p
  attributes name=Directive
  attribute name=JkWorkersFile required=falsep
  The name of a worker file for the Jakarta servlet containers
  /p/attribute
  attribute name=JkWorkerProperty required=falsep
  Enables setting workers.properties inside Apache configuration file.
  This directive is available in jk1.2.7 version and later.
  /p/attribute
  attribute name=JkLogFile required=falsep
  Full or server relative path to the Jakarta Tomcat Connector module log file
  /p/attribute
  attribute name=JkAutoMount required=falsep
  Automatic mount points to a Tomcat worker
  /p/attribute
  attribute name=JkMount required=falsep
  A mount point from a context to a Tomcat worker
  /p/attribute
  attribute name=JkMountCopy required=falsep
  Should the base server mounts be copied to the virtual server.
  /p/attribute
  attribute name=JkLogFile required=falsep
  Full or server relative path to the Jakarta Tomcat module log file
  /p/attribute
  attribute name=JkLogLevel required=falsep
  The Jakarta Tomcat module log level, can be debug, info, warn
  error or trace
  /p/attribute
  attribute name=JkLogStampFormat required=falsep
  The Jakarta Tomcat Connector module bdate/b log format, follow strftime 
synthax
  /p/attribute
  attribute name=JkRequestLogFormat required=falsep
  Request log format string. See datailed description below.
  /p/attribute
  attribute name=JkAutoAlias required=falsep
  Automatically Alias webapp context directories into the Apache
  document space. 
  /p/attribute
  attribute name=JkHTTPSIndicator required=falsep
  Name of the Apache environment that contains SSL indication
  /p/attribute
  attribute name=JkCERTSIndicator required=falsep
  Name of the Apache environment that contains SSL client certificates
  /p/attribute
  attribute name=JkCIPHERIndicator required=falsep
  Name of the Apache environment that contains SSL client cipher
  /p/attribute
  attribute name=JkSESSIONIndicator required=falsep
  Name of the Apache environment that contains SSL session
  /p/attribute
  attribute name=JkKEYSIZEIndicator required=falsep
  Name of the Apache environment that contains SSL key size in use
  /p/attribute
  attribute name=JkExtractSSL required=falsep
  Turns on SSL processing and information gathering by mod_jk
  /p/attribute
  attribute name=JkOptions required=falsep
  Set one of more options to configure the mod_jk module. See below for
  deatails about this directive
  /p/attribute
  attribute name=JkEnvVar required=falsep
  Adds a name of environment variable that should be sent to servlet-engine
  /p/attribute
  
  /attributes
  /section
  
  section name=Configuration Directives Types
  p
  We'll discuss here the mod_jk directive types.
  /p
  
  subsection name=Define workers
  p
  bJkWorkersFile/b specify the location where mod_jk will find the workers 
definitions.
  Take a look at a href=workers.htmlWorkers documentation/a for detailed 
description.
  
  source

JkWorkersFile /etc/httpd/conf/workers.properties
  /source
  
  br/
  br/
  /p
  /subsection
  
  subsection name=Logging
  p
  bJkLogFile/b specify the location where mod_jk is going to place its log 
file.
  
  source

JkLogFile /var/log/httpd/mod_jk.log
  /source
  
  br/
  br/
  /p
  
  p
  bJkLogLevel/b
  set the log level between :
  /p
  
  ul
  li
  binfo/b log will contains standard mod_jk activity (default).
  /li
  li
  li
  bwarn/b log will contains non fatal error reports.
  /li
  berror/b log will contains also error reports.
  /li
  li
  bdebug/b log will contains all informations on mod_jk activity
  /li
  li
  btrace/b log will contains all tracing informations on mod_jk activity
  /li
  /ul
  
  source

JkLogLevelinfo
  /source
  
  p
  codeinfo/code should be your default selection for normal operations.
  br/
  br/
  /p
  
  p
  bJkLogStampFormat/b will configure the date/time format found on mod_jk 
logfile. 
  Using the strftime() format string it's set bybr /
  default to b[%a %b %d %H:%M:%S %Y]/b
  /p
  
  source

JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
  /source
  
  p
  br/
  br/
  /p
  
  p
  bJkRequestLogFormat/b will configure the format of mod_jk individual 
request logging. 
  Request logging is configured and enabled on a per