|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
你希望java的IDE整合。这个是没有必要的,重要的是你理解java有多深以及怎么组织你的代码,即使没有IDE,代码照样能够编译运行的。apache 文章简介:Apache最新官方设置文件中文版。协助web服务器办理员更便利的对Apache举行设置。
#
#BasedupontheNCSAserverconfigurationfilesoriginallybyRobMcCool.
#参照NCSA服务器的设置文件,原版由RobMcCool公布
#
#ThisisthemainApacheserverconfigurationfile.Itcontainsthe
#configurationdirectivesthatgivetheserveritsinstructions.
#See<URL:http://httpd.apache.org/docs-2.0/>fordetailedinformationabout
#thedirectives.
#这是Apacheserver的主设置文件.它包括设置指令,来唆使服务器
#请参考http://httpd.apache.org/docs-2.0懂得关于指令的具体信息
#DoNOTsimplyreadtheinstructionsinherewithoutunderstanding
#whattheydo.Theyrehereonlyashintsorreminders.Ifyouareunsure
#consulttheonlinedocs.Youhavebeenwarned.
#不要仅仅是浏览本指令,而应当了解指令做了甚么。在这里仅起提醒的感化。
#假如你不分明请参阅在线文档。出格提醒
#Theconfigurationdirectivesaregroupedintothreebasicsections:
#设置文件批令分为三个基础组
#1.DirectivesthatcontroltheoperationoftheApacheserverprocessasa
#whole(theglobalenvironment).
#1.把持Apacheserver的全局操纵的指令(全局情况变量).
#2.Directivesthatdefinetheparametersofthemainordefaultserver,
#whichrespondstorequeststhatarenthandledbyavirtualhost.
#Thesedirectivesalsoprovidedefaultvaluesforthesettings
#ofallvirtualhosts.
#2.设置主服务大概默许服务的指令,它针对那些被假造主机之外的哀求作出呼应.
#它也包括假造主机的一些默许参数
#3.Settingsforvirtualhosts,whichallowWebrequeststobesentto
#differentIPaddressesorhostnamesandhavethemhandledbythe
#sameApacheserverprocess.
#3.假造主机设置,这使得发往分歧的ip大概主机名的哀求能够被子统一个Apache服务#器处置
#Configurationandlogfilenames:Ifthefilenamesyouspecifyformany
#oftheserverscontrolfilesbeginwith"/"(or"drive:/"forWin32),the
#serverwillusethatexplicitpath.Ifthefilenamesdo*not*begin
#with"/",thevalueofServerRootisprepended--so"logs/foo.log"
#withServerRootsetto"C:/ProgramFiles/ApacheGroup/Apache2"willbeinterpretedbythe
#serveras"C:/ProgramFiles/ApacheGroup/Apache2/logs/foo.log".
#设置和日记文件名:假如你所指定的文件名以”/”(在Win32中以盘符:/)开首,服务器将以相对路径来处置。假如不以”/”开首,则以相对ServerRoot不注释,以是关于logs/foo.log来说,当ServerRoot为"C:/ProgramFiles/ApacheGroup/Apache2”时,则指的是
C:/ProgramFiles/ApacheGroup/Apache2/logs/foo.log文件
#NOTE:Wherefilenamesarespecified,youmustuseforwardslashes
#insteadofbackslashes(e.g.,"c:/apache"insteadof"c:apache").
注重,在文件名的界说中,必需用正斜杠,而不是反斜杠,如c:/apache而不是c:apache
#Ifadriveletterisomitted,thedriveonwhichApache.exeislocated
#willbeusedbydefault.Itisrecommendedthatyoualwayssupply
#anexplicitdriveletterinabsolutepaths,however,toavoid
#confusion.
#假如省略了盘符,则以Apache.exe地点的盘符为默许值
倡议在相对路径中永久利用显式的盘符,如许有助于打消曲解
###Section1:GlobalEnvironment
#第一部分全局情况
#
#ThedirectivesinthissectionaffecttheoveralloperationofApache,
#suchasthenumberofconcurrentrequestsitcanhandleorwhereit
#canfinditsconfigurationfiles.
#本部分的指令将影响全部Apache服务器,比方它所能处置的并发哀求数大概它在那里可以找到其设置文件
#
#ServerRoot:Thetopofthedirectorytreeunderwhichtheservers
#configuration,error,andlogfilesarekept.
#ServerRoot:服务器的设置,毛病和日记文件的根目次
#NOTE!IfyouintendtoplacethisonanNFS(orotherwisenetwork)
#mountedfilesystemthenpleasereadtheLockFiledocumentation(available
#at<URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
#youwillsaveyourselfalotoftrouble.
#注重:假如将其保留到NFS上大概收集上mounted的文件体系上,然后应当浏览LockFile文档,http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile,将能办理你的良多贫苦.
#DoNOTaddaslashattheendofthedirectorypath.
#不要在目次的开端加上斜杠
ServerRoot"C:/ProgramFiles/ApacheGroup/Apache2"
ServerRoot:根目次
#
#ScoreBoardFile:Fileusedtostoreinternalserverprocessinformation.
#Ifunspecified(thedefault),thescoreboardwillbestoredinan
#anonymoussharedmemorysegment,andwillbeunavailabletothird-party
#applications.
ScoreBoardFile:保留服务器外部的处置信息
假如不决议(默许形态),scoreboard将被保留在匿名的共享内存段中,而且关于第三方来说,是不成取得的
#Ifspecified,ensurethatnotwoinvocationsofApachesharethesame
#scoreboardfile.ThescoreboardfileMUSTBESTOREDONALOCALDISK.
#假如已界说,应确保Apache的两个挪用不克不及共享统一个scoreboard.Scoreboard文件必需寄存在可分派的磁盘上
#ScoreBoardFilelogs/apache_runtime_status
#
#PidFile:Thefileinwhichtheservershouldrecorditsprocess
#identificationnumberwhenitstarts.
#PidFile:当服务器起努时,服务器必要将其历程ID号寄存在此文件中
PidFilelogs/httpd.pid
#
#Timeout:Thenumberofsecondsbeforereceivesandsendstimeout.
#Timeout:吸收和发送数据的超时设置,秒数
Timeout300
#
#KeepAlive:Whetherornottoallowpersistentconnections(morethan
#onerequestperconnection).Setto"Off"todeactivate.
#KeepAlive:是不是撑持耐久连接(而不是每一个哀求建一个毗连),设off封闭此功效
KeepAliveOn
#
#MaxKeepAliveRequests:Themaximumnumberofrequeststoallow
#duringapersistentconnection.Setto0toallowanunlimitedamount.
#Werecommendyouleavethisnumberhigh,formaximumperformance.
#MaxKeepAliveRequests:在耐久毗连时代,所同意的最年夜哀求数目。设为0暗示不作限定
倡议设为较高的数,以进步功能
MaxKeepAliveRequests100
#
#KeepAliveTimeout:Numberofsecondstowaitforthenextrequestfromthe
#sameclientonthesameconnection.
#KeepAliveTimeout:在统一个客户毗连中,守候下一个哀求的守候工夫。
KeepAliveTimeout15
##
##Server-PoolSizeRegulation(MPMspecific)
##惯例Server-Pool服务器池的巨细(每分钟M数)
#WinNTMPMWinNT的MPM
#ThreadsPerChild:constantnumberofworkerthreadsintheserverprocess
ThreadPerChild:服务器历程中事情的线程数目
#MaxRequestsPerChild:maximumnumberofrequestsaserverprocessserves
每一个服务历程的最年夜哀求数
<IfModulempm_winnt.c>
ThreadsPerChild250
MaxRequestsPerChild0
</IfModule>
#
#Listen:AllowsyoutobindApachetospecificIPaddressesand/or
#ports,insteadofthedefault.Seealsothe<VirtualHost>
#directive.
#Listen:同意你将Apache绑定到指定的IP地点或端口,而不是默许端口,请同时参考<VirtualHost>指令
#ChangethistoListenonspecificIPaddressesasshownbelowto
#preventApachefromglommingontoallboundIPaddresses(0.0.0.0)
#像上面那样指定侦听的IP地点,避免Apache抢占一切绑定的IP地点
#Listen12.34.56.78:80
Listen80
#
#DynamicSharedObject(DSO)Support
#静态共享对象撑持DSO
#TobeabletousethefunctionalityofamodulewhichwasbuiltasaDSOyou
#havetoplacecorresponding`LoadModulelinesatthislocationsothe
#directivescontainedinitareactuallyavailable_before_theyareused.
#Staticallycompiledmodules(thoselistedby`httpd-l)donotneed
#tobeloadedhere.
#为了可以利用模块功效,模块一般以DSO的体例构建,你应当鄙人面利用LoadModule行,使得可以在利用前取得指令的功效。静态编译模块(在httpd-1中所枚举的)不必要在此装载
#Example:
#LoadModulefoo_modulemodules/mod_foo.so
#
LoadModuleaccess_modulemodules/mod_access.so
LoadModuleactions_modulemodules/mod_actions.so
LoadModulealias_modulemodules/mod_alias.so
LoadModuleasis_modulemodules/mod_asis.so
LoadModuleauth_modulemodules/mod_auth.so
#LoadModuleauth_anon_modulemodules/mod_auth_anon.so
#LoadModuleauth_dbm_modulemodules/mod_auth_dbm.so
#LoadModuleauth_digest_modulemodules/mod_auth_digest.so
LoadModuleautoindex_modulemodules/mod_autoindex.so
#LoadModulecern_meta_modulemodules/mod_cern_meta.so
LoadModulecgi_modulemodules/mod_cgi.so
#LoadModuledav_modulemodules/mod_dav.so
#LoadModuledav_fs_modulemodules/mod_dav_fs.so
LoadModuledir_modulemodules/mod_dir.so
LoadModuleenv_modulemodules/mod_env.so
#LoadModuleexpires_modulemodules/mod_expires.so
#LoadModulefile_cache_modulemodules/mod_file_cache.so
#LoadModuleheaders_modulemodules/mod_headers.so
LoadModuleimap_modulemodules/mod_imap.so
LoadModuleinclude_modulemodules/mod_include.so
#LoadModuleinfo_modulemodules/mod_info.so
LoadModuleisapi_modulemodules/mod_isapi.so
LoadModulelog_config_modulemodules/mod_log_config.so
LoadModulemime_modulemodules/mod_mime.so
#LoadModulemime_magic_modulemodules/mod_mime_magic.so
#LoadModuleproxy_modulemodules/mod_proxy.so
#LoadModuleproxy_connect_modulemodules/mod_proxy_connect.so
#LoadModuleproxy_http_modulemodules/mod_proxy_http.so
#LoadModuleproxy_ftp_modulemodules/mod_proxy_ftp.so
LoadModulenegotiation_modulemodules/mod_negotiation.so
#LoadModulerewrite_modulemodules/mod_rewrite.so
LoadModulesetenvif_modulemodules/mod_setenvif.so
#LoadModulespeling_modulemodules/mod_speling.so
#LoadModulestatus_modulemodules/mod_status.so
#LoadModuleunique_id_modulemodules/mod_unique_id.so
LoadModuleuserdir_modulemodules/mod_userdir.so
#LoadModuleusertrack_modulemodules/mod_usertrack.so
#LoadModulevhost_alias_modulemodules/mod_vhost_alias.so
#LoadModulessl_modulemodules/mod_ssl.so
#
#ExtendedStatuscontrolswhetherApachewillgenerate"full"status
#information(ExtendedStatusOn)orjustbasicinformation(ExtendedStatus
#Off)whenthe"server-status"handleriscalled.ThedefaultisOff.
#扩大形态把持Apache是不是发生完全的形态信息(设为on发生全体),假如设为Off则发生基础的信息,当与server-status头有关,默许值为Off
#ExtendedStatusOn
###Section2:Mainserverconfiguration
#第二部分:主服务设置
#Thedirectivesinthissectionsetupthevaluesusedbythemain
#server,whichrespondstoanyrequeststhatarenthandledbya
#<VirtualHost>definition.Thesevaluesalsoprovidedefaultsfor
#any<VirtualHost>containersyoumaydefinelaterinthefile.
#本节中指令的设置值,将被主服务所利用,主服务呼应那些没有被<VirtualHost>所处置的哀求,这些值也为<VirtualHost>容器供应了默许值,你能够在前面的文件中界说
#Allofthesedirectivesmayappearinside<VirtualHost>containers,
#inwhichcasethesedefaultsettingswillbeoverriddenforthe
#virtualhostbeingdefined.
一切这些指令将呈现在<VirtualHost>容器中,这些设定值将在界说virtualhost时被覆写。
#
#
#ServerAdmin:Youraddress,whereproblemswiththeservershouldbe
#e-mailed.Thisaddressappearsonsomeserver-generatedpages,such
#aserrordocuments.e.g.admin@your-domain.com
#ServerAdmin:你的地点,当体系妨碍时,能够给你发email。此地点呈现在那些由服务器天生的页面上,如堕落文档。比方:admin@your-domain.com
ServerAdminwebmaster@moers.com
#
#ServerNamegivesthenameandportthattheserverusestoidentifyitself.
#Thiscanoftenbedeterminedautomatically,butwerecommendyouspecify
#itexplicitlytopreventproblemsduringstartup.
#ServerNaem界说了server称号和端标语,用以标明本人的身份。一般能够主动界说,倡议显式地界说,制止起动时堕落
#IfthisisnotsettovalidDNSnameforyourhost,server-generated
#redirectionswillnotwork.SeealsotheUseCanonicalNamedirective.
#假如没有准确界说主机的DNS,服务器发生的重定向将不会事情,同时参考UseCanonicalName指令。
#IfyourhostdoesnthavearegisteredDNSname,enteritsIPaddresshere.
#Youwillhavetoaccessitbyitsaddressanyway,andthiswillmake
#redirectionsworkinasensibleway.
#假如你没有注册DNS名字,请在这里输出IP地点。
你能够在任何情形下利用ip地点,这也利用得重定向变得敏感
ServerNamewww.moers.com:80
#
#UseCanonicalName:DetermineshowApacheconstructsself-referencing
#URLsandtheSERVER_NAMEandSERVER_PORTvariables.
#Whenset"Off",ApachewillusetheHostnameandPortsupplied
#bytheclient.Whenset"On",Apachewillusethevalueofthe
#ServerNamedirective.
#UseCanonicalName:决意Apaceh怎样构建自定参考URL,和SERVER_NAME及SERVER_PORT变量
当设为Off时,Apache将利用客户端给出的域名和端口。当设为On时,Apache将利用ServerName指令
UseCanonicalNameOff
#
#DocumentRoot:Thedirectoryoutofwhichyouwillserveyour
#documents.Bydefault,allrequestsaretakenfromthisdirectory,but
#symboliclinksandaliasesmaybeusedtopointtootherlocations.
#DocumentRoot:服务器文档安排目次。在默许情况下,一切的哀求都从这里入手下手,除暗号和别号将改指它处之外。
DocumentRoot"C:/ProgramFiles/ApacheGroup/Apache2/htdocs"
#
#EachdirectorytowhichApachehasaccesscanbeconfiguredwithrespect
#towhichservicesandfeaturesareallowedand/ordisabledinthat
#directory(anditssubdirectories).
#每一个可供Apache会见的目次,能够设置成同意或克制哪些服务和特性(包含其子目次)
#First,weconfigurethe"default"tobeaveryrestrictivesetof
#features.
#起首,我们界说一个默许的十分严厉的设置
<Directory/>
OptionsFollowSymLinks
AllowOverrideNone
</Directory>
#
#Notethatfromthispointforwardyoumustspecificallyallow
#particularfeaturestobeenabled-soifsomethingsnotworkingas
#youmightexpect,makesurethatyouhavespecificallyenabledit
#below.
#注重,从这一点往前,你必需允许某些特别的功效,以是假如某些功效未能如你所愿,要确保你在鄙人述中启用了该功效。
#
#ThisshouldbechangedtowhateveryousetDocumentRootto.
#这将改动你对DocumentRoot的设置
<Directory"C:/ProgramFiles/ApacheGroup/Apache2/htdocs">
#
#PossiblevaluesfortheOptionsdirectiveare"None","All",
#oranycombinationof:
大概的值为None,All大概恣意组合
#IndexesIncludesFollowSymLinksSymLinksifOwnerMatchExecCGIMultiViews
#索引包含FollowSymLinksSymLinksifOwnerMatchExecCGIMultiViews
#Notethat"MultiViews"mustbenamed*explicitly*---"OptionsAll"
#doesntgiveittoyou.
#注重MultiViews被显式地OptionsAll,
#TheOptionsdirectiveisbothcomplicatedandimportant.Pleasesee
#http://httpd.apache.org/docs-2.0/mod/core.html#options
#formoreinformation.
#选项指令既庞大又主要,请参阅http://httpd.apache.org/docs-2.0/mod/core.html#options懂得概况
OptionsIndexesFollowSymLinks
#
#AllowOverridecontrolswhatdirectivesmaybeplacedin.htaccessfiles.
#Itcanbe"All","None",oranycombinationofthekeywords:
#OptionsFileInfoAuthConfigLimit
#AllowOverride把持甚么指令可以到场到.htaccess中,能够是All,None,大概组合关头字
AllowOverrideNone
#
#Controlswhocangetstufffromthisserver.
#把持谁能够能够会见此服务
Orderallow,deny
Allowfromall
</Directory>
#
#UserDir:Thenameofthedirectorythatisappendedontoausershome
#directoryifa~userrequestisreceived.Beespeciallycarefultouse
#proper,forwardslasheshere.OnWindowsNT,"Personal/MyWebsite"
#isamoreappropriatechoice.
#UserDir:用户的home的称号,当接到到~user的哀求时。
请当心准确利用”/”.在WinNT上,”Personal/MyWebsite”是更符合的选择
UserDir"MyDocuments/MyWebsite"
#
#ControlaccesstoUserDirdirectories.Thefollowingisanexample
#forasitewherethesedirectoriesarerestrictedtoread-only.
#把持UserDir目次,以下是一个例子,这个目次是只读的
#Youmustcorrectthepathfortheroottomatchyoursystemsconfigured
#userdirectorylocation,e.g."C:/WinNT/profiles/*/MyDocuments/MyWebsite"
#orwhichever,asappropriate.
#你必需改正root目次,与体系设置相配,如用户目次是C:/WinNT/profiles/*/MyDocuments/MyWebsite大概别的符合的
#<Directory"C:/DocumentsandSettings/*/MyDocuments/MyWebsite">
#AllowOverrideFileInfoAuthConfigLimit
#OptionsMultiViewsIndexesSymLinksIfOwnerMatchIncludesNoExec
#<LimitGETPOSTOPTIONSPROPFIND>
#Orderallow,deny
#Allowfromall
#</Limit>
#<LimitExceptGETPOSTOPTIONSPROPFIND>
#Orderdeny,allow
#Denyfromall
#</LimitExcept>
#</Directory>
#
#DirectoryIndex:setsthefilethatApachewillserveifadirectory
#isrequested.
#DirectoryIndex:Apache服务器将要以一个目次的情势呼应服务
#Theindex.html.varfile(atype-map)isusedtodelivercontent-
#negotiateddocuments.TheMultiViewsOptioncanbeusedforthe
#samepurpose,butitismuchslower.
#index.html变量文件(一种映照)将间接传送内容。MultiViews选项能够用于一样的目标,可是要慢很多
DirectoryIndexindex.htmlindex.html.var
#
#AccessFileName:Thenameofthefiletolookforineachdirectory
#foradditionalconfigurationdirectives.SeealsotheAllowOverride
#directive.
#AccessFileName:用来查找各个目次下分外的设置指令的设置文件名,同时参考AllowOverride(同意重载)指令
#Acce
AccessFileName.htaccess
#
#Thefollowinglinesprevent.htaccessand.htpasswdfilesfrombeing
#viewedbyWebclients.
#上面两行,阻址Web客户端会见.htaccess和htpasswd(会见设定和暗码)的文件
#
<Files~"^.ht">
Orderallow,deny
Denyfromall
</Files>
#
#TypesConfigdescribeswherethemime.typesfile(orequivalent)is
#tobefound.
#TypesConfig,形貌在那边找到mime型别
TypesConfigconf/mime.types
#
#DefaultTypeisthedefaultMIMEtypetheserverwilluseforadocument
#ifitcannototherwisedetermineone,suchasfromfilenameextensions.
假如服务器不克不及断定文档的型别,将利用默许的MIME型别,比方依据扩大名
#IfyourservercontainsmostlytextorHTMLdocuments,"text/plain"is
#agoodvalue.Ifmostofyourcontentisbinary,suchasapplications
#orimages,youmaywanttouse"application/octet-stream"insteadto
#keepbrowsersfromtryingtodisplaybinaryfilesasthoughtheyare
#text.
#假如你的服务器次要包含text/html文档,”text/plain”就是一个好的取值。假如你的年夜多半内容是binary(二进制)的,如使用程序或图片,你大概但愿利用application/octet-stream,使得扫瞄器试图显现二进制数据,只管它们是文本
DefaultTypetext/plain
#
#Themod_mime_magicmoduleallowstheservertousevarioushintsfromthe
#contentsofthefileitselftodetermineitstype.TheMIMEMagicFile
#directivetellsthemodulewherethehintdefinitionsarelocated.
#mod_mime_magic模块,同意服务器依据内容提醒来辨认文件型别。MIMEMagicFile指令告诉模块“内容提醒”应到那边找。
<IfModulemod_mime_magic.c>
MIMEMagicFileconf/magic
</IfModule>
#
#HostnameLookups:LogthenamesofclientsorjusttheirIPaddresses
#e.g.,www.apache.org(on)or204.62.129.132(off).
#Thedefaultisoffbecauseitdbeoverallbetterforthenetifpeople
#hadtoknowinglyturnthisfeatureon,sinceenablingitmeansthat
#eachclientrequestwillresultinATLEASTonelookuprequesttothe
#nameserver.
HostNameLookups:客户日记大概仅其IP地点,如www.apache.org(on)大概204.62.129.132
(off).默许为值设为off对照好,假如但愿将此置为on将意味着第一次客户哀求都最少要查询一次nameserver.
#
HostnameLookupsOff
#
#EnableMMAP:Controlwhethermemory-mappingisusedtodeliver
#files(assumingthattheunderlyingOSsupportsit).
#Thedefaultison;turnthisoffifyouservefromNFS-mounted
#filesystems.Onsomesystems,turningitoff(regardlessof
#filesystem)canimproveperformance;fordetails,pleasesee
#http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
#EnableMMAP:把持是不是经由过程内存映照的体例传送文件(须得操纵体系撑持)
默许值为on;假如你利用NSF加载的文件体系(一般在linux下),应置为off.在某些体系上,置off,不论利用甚么文件体系,可以进步效力,具体情形,请参阅文档
#EnableMMAPoff
#
#EnableSendfile:Controlwhetherthesendfilekernelsupportis
#usedtodeliverfiles(assumingthattheOSsupportsit).
#Thedefaultison;turnthisoffifyouservefromNFS-mounted
#filesystems.Pleasesee
#http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
#EnableSendfile:把持内核传送文件是不是撑持(必要OS撑持)。默许为on,假如利用NFS,则利用off
#EnableSendfileoff
#
#ErrorLog:Thelocationoftheerrorlogfile.
#IfyoudonotspecifyanErrorLogdirectivewithina<VirtualHost>
#container,errormessagesrelatingtothatvirtualhostwillbe
#loggedhere.Ifyou*do*defineanerrorlogfilefora<VirtualHost>
#container,thathostserrorswillbeloggedthereandnothere.
#ErrorLog:堕落日记文件
假如你想为假造主机界说Errorlog指令,则该假造主机的毛病信息将被纪录到这里
ErrorLoglogs/error.log
#
#LogLevel:Controlthenumberofmessagesloggedtotheerror.log.
#Possiblevaluesinclude:debug,info,notice,warn,error,crit,
#alert,emerg.
#LogLever:日记品级,(与log4j类似,译者注),决意哪些级其余堕落信息将被纪录,如debug,info,notice,warn,error,crit,alert,emerg等,在设定级别以上的信息就会被纪录(译者注).
LogLevelwarn
#
#Thefollowingdirectivesdefinesomeformatnicknamesforusewith
#aCustomLogdirective(seebelow).
#日记格局(与log4j类似)
LogFormat"%h%l%u%t"%r"%>s%b"%{Referer}i""%{User-Agent}i""combined
LogFormat"%h%l%u%t"%r"%>s%b"common
LogFormat"%{Referer}i->%U"referer
LogFormat"%{User-agent}i"agent
#Youneedtoenablemod_logio.ctouse%Iand%O
#LogFormat"%h%l%u%t"%r"%>s%b"%{Referer}i""%{User-Agent}i"%I%O"combinedio
还得说上一点,就java本质而言,是面相对象的,但是你有没有发现,java也不全是,比如说基本类型,int,那他就是整型而不是对象,转换类型是还得借助包装类。 |
|