eme
rg]
#Default:info(unlesscompiledw/JSERV_DEBUG,inwhichcaseit's
debug)
ApJServLogLevelnotice
#ProtocolusedbythishosttoconnecttoApacheJServ
#(seedocumentationformoredetailsonavailableprotocols)
#Syntax:ApJServDefaultProtocol[name]
#Default:"ajpv12"
ApJServDefaultProtocolajpv12
#DefaulthostonwhichApacheJServisrunning
#Syntax:ApJServDefaultHost[hostname]
#Default:"localhost"
#ApJServDefaultHostjava.apache.org
#ApJServDefaultHostwww.snc.siemens.com.cn
#DefaultportthatApacheJServislisteningto
#Syntax:ApJServDefaultPort[number]
#Default:protocol-dependant(forajpv12protocolthisis"8007")
ApJServDefaultPort8007
#TheamountoftimetogivetotheJVMtostartupaswell
#astheamountoftimetowaittopingtheJVMtoseeifit
#isalive.Sloworheavilyloadedmachinesmightwantto
#increasethisvalue.
#Default:10seconds
#ApJServVMTimeout10
#Passesparameterandvaluetospecifiedprotocol.
#Syntax:ApJServProtocolParameter[name][parameter][value]
#Default:NONE
#Note:Currentlynoprotocolshandlethis.Introducedforfutureprot
ocols.
#ApacheJServsecretkeyfilerelativetoApacherootdirectory.
#Syntax:ApJServSecretKey[filename]
#Default:"./conf/jserv.secret.key"
#Warning:ifauthenticationisDISABLED,everyoneonthismachine(no
tjust
#thismodule)mayconnecttoyourservletengineandexecuteservlet
#bypassingwebserverrestrictions.Seethedocumentationformorein
formation
#ApJServSecretKey/usr/local/apache/jserv/etc/jserv.secret.key
ApJServSecretKeyDISABLED
#MountpointforServletzones
#(seedocumentationformoreinformationonservletzones)
#Syntax:ApJServMount[name][jserv-url]
#Default:NONE
#Note:[name]isthenameoftheApacheURIpathtomountjserv-urlo
n
#[jserv-url]issomethinglike"protocol://host:port/zone"
#Ifprotocol,hostorportarenotspecified,thevaluesfrom
#"ApJServDefaultProtocol","ApJServDefaultHost"or"ApJServDefaultPo
rt"
#willbeused.
#Ifzoneisnotspecified,thezonenamewillbethefirstsubdirect
oryof
#thecalledservlet.
#Example:"ApJServMount/servlets/myServlets"
#ifuserrequests"http://host/servlets/TestServlet"
#theservlet"TestServlet"inzone"myServlets"ondefaulthost
#thrudefaultprotocolondefaulportwillberequested
#Example:"ApJServMount/servletsajpv12://localhost:8007"
#ifuserrequests"http://host/servlets/myServlets/TestServlet"
#theservlet"TestServlet"inzone"myServlets"willberequested
#Example:"ApJServMount/servletsajpv12://jserv.mydomain.com:15643/m
yServlets"
#ifuserrequests"http://host/servlets/TestServlet"theservlet
#"TestServlet"inzone"myServlets"onhost"jserv.mydomain.com"usi
ng
#"ajpv12"protocolonport"15643"willbeexecuted
ApJServMount/servlets/root
ApJServMount/servlet/root
#Whetherinheritsbasehostmountpointsornot
#Syntax:ApJServMountCopy[on/off]
#Default:"On"
#Note:Thisdirectiveismeaninfulonlywhenvirtualhostsarebeing
used
ApJServMountCopyon
#ExecutesaservletpassingfilenamewithproperextensioninPATH_TR
ANSLATED
#propertyofservletrequest.
#Syntax:ApJServAction[extension][servlet-uri]
#Defaults:NONE
#Notes:Thisisusedforexternaltools.
#ApJServAction.jsp/servlets/org.gjt.jsp.JSPServlet
#ApJServAction.gsp/servlets/com.bitmechanic.gsp.GspServlet
#ApJServAction.jhtml/servlets/org.apache.servlet.ssi.SSI
#ApJServAction.xml/servlets/org.apache.cocoon.Cocoon
#ApJServAction.jsp/alph/gnujsp
ApJServAction.jsp/servlets/oracle.jsp.JspServlet
ApJServAction.jhtml/servlets/org.apache.servlet.ssi.SSI
#EnabletheApacheJServstatushandlerwiththeURLof
#"http://servername/jserv/"(notethetrailingslash!)
#Changethe"deny"directivetorestrictaccesstothisstatuspage.
SetHandlerjserv-status
orderdeny,allow
denyfromall
allowfrom127.0.0.1
##############################WARNING#########################
#########
#RemembertodisableorotherwiseprotecttheexecutionoftheApache
JServ#
#StatusHandler(seerightabove)onaproductionenvironmentsincet
hismay#
#giveuntrusteduserstheabilitytoobtainrestrictedinformationon
your#
#servletsandtheirinitializationargumentssuchasJDBCpasswordsa
nd#
#otherimportantinformation.TheApacheJServStatusHandlershould
be#
#accessibleonlybysystemadministrators.
#
######################################################################
#########
……