配置Tomcat虚拟主机.docx

  1. 1、本文档共23页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
配置Tomcat虚拟主机

配置Tomcat虚拟主机注,在说Tomcat虚拟主机之前,咱们来详细的看看默认的配置文件,虽然在上一篇博客中全部有讲解,在这篇博客中我还是再和大家简单说一下,下面是默认配置文件。大家可以看到,绝大部分的配置文件是注释,包含在!-- --、全是注释。下面我们就来具体的看看,注释我们就不说了,说具体的定义的内容123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126[root@tomcat ~]# cat /usr/local/tomcat/conf/server.xml?xml version=1.0?encoding=utf-8?!--?Licensed to the Apache Software Foundation (ASF) under one or?more?contributor license agreements. See the NOTICE?file?distributed with?this work?for?additional information regarding copyright ownership.?The ASF licenses this?file?to You under the Apache License, Version 2.0?(the?License); you may not use this?file?except?in?compliance with?the License. You may obtain a copy of the License at/licenses/LICENSE-2.0?Unless required by applicable law or agreed to?in?writing, software?distributed under the License is distributed on an?AS IS?BASIS,?WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.?See the License?for?the specific language governing permissions and?limitations under the License.--!-- Note: A?Server?is not itself a?Container, so you may not???define subcomponents such as?Valves?at this level.???Documentation at?/docs/config/server.html--Server port=8005?shutdown=SHUTDOWN?#大家可以看到,这里是我们刚才讲解的,定义一个管理接口?!-- Security listener. Documentation at?/docs/config/listeners.html?Listener className=org.apache.catalina.security.SecurityListener?/?--?!--APR library loader. Documentation at?/docs/apr.html --?Listener className=org.apache.catalina.core.AprLifecycleListener?SSLEngine=on?/?!--Initialize Jasper prior to webappsare loaded. Documentation at?/docs/jasper-howto.html --?Listener className=org.apache.catalina.core.JasperListener?/?!-- Prevent memory leaks due to use of particular java/javax?APIs--?Listener className=org.apache.catalina.core.

文档评论(0)

dajuhyy + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档