Configuration of JBoss3.0-Tomcat4.03 - 2 (Configuration of Virtual Host)

xiaoxiao2021-04-03  238

JBoss3.0-Tomcat4.03 configuration-2 (Virtual host JBoss3.0-Tomcat4.03 configuring 1, please first open the Hosts file under the Winnt / System32 / Drivers / etc directory, add you To a virtual machine name, if I am adding 127.0.0.1 www www.www.systekgz.com.cn here www.systekgz.com.cn is my domain name.

WWW is a virtual name and my machine's own name is FANGM. In the domain is Fangm.www.systekgz.com.cn 2. Open the Tomcat4-Service in the server / default / deploy directory in the JBoss-Tomcat installation directory. XML file, the original file is such ]> < ! - The Service Configuration for the Embedded Tomcat4 Web Container -> & catalina.home;

First, find , JBoss-Tomcat defaults to publish it under LocalHost, you change to your machine name, here I change It became Note that it is not a virtual name.

Second, add as follows www.www.systekgz.com.cn Note The and prefix =" www_access "WWW is the virtual machine name of course you can also do not modify Change to After the finished file is as follows: ]>

"File: & catalina.home; / lib /" Archives = "*" /> & catalina.home; <

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

New Post(0)