home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 November / PCONLINE_11_99.ISO / filesbbs / OS2 / APCHSSL2.ZIP / OS2HTTPD / conf / jserv.properties < prev    next >
Encoding:
Text File  |  1999-08-01  |  8.2 KB  |  211 lines

  1. ###############################################################################
  2. #                        Apache JServ Configuration File                      #
  3. ###############################################################################
  4.  
  5. ################################ W A R N I N G ################################
  6. # Unlike normal Java properties, JServ configurations have some important 
  7. # extentions:
  8. #
  9. #    1) commas are used as token separators
  10. #    2) multiple definitions of the same key are concatenated in a 
  11. #       comma-separated list.
  12. ###############################################################################
  13.  
  14. # Execution parameters
  15. #######################
  16.  
  17. # The Java Virtual Machine interpreter.
  18. # Syntax: wrapper.bin=[filename]
  19. # Note: specify a full path if the interpreter is not visible in your path.
  20. wrapper.bin=h:/java11/bin/javapm
  21.  
  22. # Arguments passed to Java interpreter (optional)
  23. # Syntax: wrapper.bin.parameters=[string]
  24. # Default: NONE
  25.  
  26. # Apache JServ entry point class (should not be changed)
  27. # Syntax: wrapper.class=[classname]
  28. # Default: "org.apache.jserv.JServ"
  29. wrapper.class=org.apache.jserv.JServ
  30.  
  31. # Arguments passed to main class after the properties filename (not used)
  32. # Syntax: wrapper.class.parameters=[string]
  33. # Default: NONE
  34. # Note: currently not used
  35.  
  36. # PATH environment value passed to the JVM
  37. # Syntax: wrapper.path=[path]
  38. # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
  39. #          "c:/(windows-dir);c:/(windows-system-dir)" for Win32 systems
  40. # Notes: if more than one line is supplied these will be concatenated using
  41. #        ":" or ";" (depending wether Unix or Win32) characters
  42. #        Under Win32 (windows-dir) and (windows-system-dir) will be
  43. #        automatically evaluated to match your system requirements
  44. wrapper.path=h:/java11/bin
  45.  
  46. # CLASSPATH environment value passed to the JVM
  47. # Syntax: wrapper.classpath=[path]
  48. # Default: NONE (Sun's JDK/JRE already have a default classpath)
  49. # Notes: if more than one line is supplied these will be concatenated using
  50. #        ":" or ";" (depending wether Unix or Win32) characters.
  51. #        JVM must be able to find JSDK and JServ classes and any
  52. #        utility classes used by your servlets.
  53. wrapper.classpath=h:/java11/lib/classes.zip
  54. wrapper.classpath=i:/OS2Httpd/jserv/servclasses.zip
  55. wrapper.classpath=i:/OS2Httpd/jserv
  56. wrapper.classpath=g:/sqllib/java/db2java.zip
  57. wrapper.classpath=i:/OS2Httpd/jserv/iasp/lib/iasplib.jar
  58. wrapper.classpath=i:/Public/javaClass
  59.  
  60. # An environment name with value passed to the JVM
  61. # Syntax: wrapper.env=[name]=[value]
  62. # Default: NONE on Unix Systems
  63. #          SystemDrive and SystemRoot with appropriate values on Win32 systems
  64. wrapper.env=DB2PATH=g:/sqllib
  65.  
  66. # An environment name with value copied from caller to Java Virtual Machine
  67. # Syntax: wrapper.env.copy=[name]
  68. # Default: NONE
  69.  
  70. # Copies all environment from caller to Java Virtual Machine
  71. # Syntax: wrapper.env.copyall=[true,false]
  72. # Default: false
  73.  
  74. # Protocol used for signal handling
  75. # Syntax: wrapper.protocol=[name]
  76. # Default: ajpv11
  77. # wrapper.protocol=ajpv11
  78.  
  79. # General parameters
  80. ######################
  81.  
  82. # Set the port Apache JServ listens to.
  83. # Syntax: port=[1024,65535] (int)
  84. # Default: 8007
  85. port=8007
  86.  
  87. # Servlet Zones parameters
  88. ###########################
  89.  
  90. # List of servlet zones Apache JServ manages
  91. # Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of String)
  92. # Default: NONE
  93. zones=dehua,system,iasp
  94.  
  95. # Configuration file for each servlet zone (one per servlet zone)
  96. # Syntax: [servlet zone name as on the zones list].properties=[full path to configFile] (String)
  97. # Default: NONE
  98. # Note: if the file could not be opened, try using absolute paths.
  99. dehua.properties=/OS2Httpd/conf/dehua.properties
  100. system.properties=/OS2Httpd/conf/system.properties
  101. iasp.properties=/OS2Httpd/conf/iasp.properties
  102.  
  103. # Security parameters
  104. #####################
  105.  
  106. # Enable/disable the execution of org.apache.jserv.JServ as a servlet.
  107. # This is disabled by default because it may give informations that should
  108. # be restricted.
  109. # Note that the execution of Apache JServ as a servlet is filtered by the web
  110. # server modules by default so that both sides should be enabled to let this 
  111. # service work.
  112. # This service is useful for installation and configuration since it gives 
  113. # feedback about the exact configurations Apache JServ is using, but it should
  114. # be disabled when both installation and configuration processes are done.
  115. # Syntax: security.selfservlet=[true,false] (boolean)
  116. # Default: false
  117. # WARNING: disable this in a production environment since may give reserved
  118. # information to untrusted users.
  119. security.selfservlet=false
  120.  
  121. # Set the maximum number of socket connections Apache JServ may handle 
  122. # simultaneously. Make sure your operating environment has enough file
  123. # descriptors to allow this number.
  124. # Syntax: security.maxConnections=(int)>1
  125. # Default: 50
  126. security.maxConnections=50
  127.  
  128. # List of IP addresses allowed to connect to Apache JServ. This is a first 
  129. # security filtering to reject possibly unsecure connections and avoid the 
  130. # overhead of connection authentication.
  131. # Syntax: security.allowedAddresses=[IP address],[IP Address]... (Comma separated list of IP addresses)
  132. # Default: 127.0.0.1
  133. security.allowedAddresses=202.120.182.10,202.120.182.100,202.120.182.101,127.0.0.1
  134.  
  135. # Enable/disable connection authentication. 
  136. # NOTE: unauthenticated connections are a little faster since authentication 
  137. # handshake is not performed at connection creation.
  138. # WARNING: authentication is disabled by default because we believe that
  139. # connection restriction from all IP addresses but localhost reduces your
  140. # time to get Apache JServ to run. If you allow other addresses to connect and
  141. # you don't trust it, you should enable authentication to prevent untrusted
  142. # execution of your servlets. Beware: if authentication is disabled and the
  143. # IP address is allowed, everyone on that machine can execute your servlets!
  144. # Syntax: security.authentication=[true,false] (boolean)
  145. # Default: true
  146. # security.authentication=true
  147. security.authentication=false
  148.  
  149. # Authentication secret key.
  150. # The secret key is passed as a file that must be kept secure and must
  151. # be exactly the same of those used by clients to authenticate themselves.
  152. # Syntax: security.secretKey=[secret key path and filename] (String)
  153. # Default: NONE
  154. # Note: if the file could not be opened, try using absolute paths.
  155. # security.secretKey=/OS2Httpd/conf/jserv.secret.key
  156.  
  157. # Length of the randomly generated challenge string (in bytes) used to
  158. # authenticate connections. 5 is the lowest possible choice to force a safe
  159. # level of security and reduce connection creation overhead.
  160. # Syntax: security.challengeSize=(int)>5
  161. # Default: 5
  162. security.challengeSize=5
  163.  
  164. # Logging parameters
  165. #####################
  166.  
  167. # Enable/disable Apache JServ log.
  168. # WARNING: logging is a very expensive operation in terms of performance. You
  169. # should reduced the generated log to a minumum or even disable if fast 
  170. # execution is an issue. Note that if all log channels (see below) are enabled, 
  171. # the log may become really big since each servlet request may generate many Kb
  172. # of log. Some log channels are mainly for debugging purposes and should
  173. # be disabled in a production environment.
  174. # Syntax: log=[true,false] (boolean)
  175. # Default: true
  176. log=false
  177. # log=true
  178.  
  179. # Set the name of the log file.
  180. # Syntax: trace.file=[log path and filename] (String)
  181. # Default: NONE
  182. # Note: if the file could not be opened, try using absolute paths.
  183. log.file=/OS2Httpd/logs/mod_jserv.log
  184.  
  185. # Enable the timestamp before the trace message
  186. # Syntax: trace.timestamp=[true,false] (boolean)
  187. # Default: true
  188. log.timestamp=false
  189.  
  190. # Use the given string as a data format 
  191. # (see java.text.SimpleDateFormat for the list of options)
  192. # Syntax: log.dateFormat=(String)
  193. # Default: [dd/MM/yyyy HH:mm:ss:SSS zz]
  194. # log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz] 
  195.  
  196. # Enable/disable channels, each tracing different actions.
  197. # Syntax: log.channel.[channel name]=[true,false] (boolean)
  198. # Default: false
  199. log.channel.init=true
  200. log.channel.terminate=true
  201. log.channel.serviceRequest=true
  202. log.channel.authentication=true
  203. log.channel.signal=true
  204. log.channel.exceptionTracing=true
  205. log.channel.servletLog=true
  206.  
  207. # These channels are mainly for internatl debugging purposes.
  208. log.channel.requestData=true
  209. log.channel.responseHeaders=true
  210. log.channel.servletManager=true
  211. log.channel.singleThreadModel=true