Tomcat Notes (1) Directory, Virtual Host, Server.xml, Tool Management Principles

zhaozj2021-02-16  98

TOMCAT notes (a) of the directory, web hosting, SERVER.XML, TOOL management principle of small note: Where Stone Email: web@yundao.com http://yundao.com fainted network Last updated:

May 06, 2004 Thursday 03:51:23 0800

Disclaimer: can be reproduced, reprint, please be sure to indicate the original source and author information and this statement on the Tomcat Administration of Reprinted form of a hyperlink: Van Stone Email: web@yundao.com http://yundao.com fainted network TOOL left interface Name: ok.aaa.com [localhost] author: Van stone Email: web@yundao.com http://yundao.com fainted network Application Base: webapps // relative to the TOMCAT_HOME Host (ok.aaa.com [ localhost]) Context (/) // ROOT directory of physics: every stone Email: web@yundao.com http://yundao.com fainted China // but as DOCBASE for a virtual directory (with respect to the Application Base) / / It is url: //ok.aaa.com [localhost] virtual (alias) root directory, this is a different place in Apache! // Application Base is a real URL: //ok.aa.com [localhost] root directory, // The system is automatically generated when the startup (by testing the web-inf, web.xml) context (/ admin) // default (it can not delete the corresponding admin.xml automatic reduction) author: Van stone Email: web@yundao.com http://yundao.com fainted network Context (/ balancer) // principle above Context ( / admin) author: Van stone Email: web@yundao.com http://yundao.com fainted network Context (/ jsp-examples) // with respect to the Application Base, the system will automatically generate a startup. Context (/ manager) // Principle is a constxt (/ servlets-example) // physical directory, and the system will automatically generate relative to Application Base. Context (/ tomcat-docs) // physical directory, the system is automatically generated when starting relative to Application Base. Context (/ WebDAV) // Physical Directory, the system will automatically generate relative to Application Base. Author: Van Stone Email: web@yundao.com http://yundao.com fainted network works: Search TOMCAT will start physical directories, physical directories under the HOST APPBASE have WEB-INF, WEB.XML information is loaded To the TOOL interface, no load, but the physical directory that is not loaded is of course, can also be accessed through the URL; the XML file corresponding to the virtual directory (Alias) can be loaded, no time (corresponding XML deleted) Load and is not visible through the URL. But root is different, after deleting root.xml, it can be loaded because it has a double. Each directory will be used normally, the XML of Tomcat_Home / Catalina / Ok.aaa.com [localhost] / generates its same name, but it is best to name the characterful text. .

About server.xml- // URL port is 80, default is 8080 - // This refers to the default host, which is accessed through IP, localhost - // Virtual host ok.aa.com Ok.bbb.com // Virtual host ok.aaa.com alias and real URL: //ok.aa.com [localhost] rooted WebAPPS Yes.aaa.com // With Yes.bb.com - // virtual host aaa.com and real URL: //aaa.com [localhost] Root catalog f: // myweb bb.com // Virtual host aaa.com's alias www.bbb.com //> a alias> www.aa.com www.aaa.com < / Alias> // With // alias ABC points to physical directories D: // freeWeb

转载请注明原文地址:https://www.9cbs.com/read-12043.html

New Post(0)