.
Setting method:
In the configuration file httpd. conf, use the NameVirtualHost command to set the virtual host, for example:
NameVirtualHost 111.22.33.44
ServerName www. domain. tld # domain name is recommended here
DocumentRoot/web/domain
At the same time, the DNS defines www. domain. tld pointing to 111.22.33.44.
Note: When the IP address is used after the NameVirtualHost co
VirtualThe host name is different, but the IP address is the same. Its advantage is that it is unlimited.
VirtualThe number of hosts, which is easy to configure and use without additional hardware and software. The disadvantage is that the client must support this part of the protocol, which is supported by browsers of recent versions. Some earlier versions of browsers do not. However, Apache provides a solution for this.
SetMethod:
Use the NameVirtualHost command in the configuration file h
the client must support this part of the protocol, which is supported by browsers of recent versions. some earlier versions of browsers do not. However, Apache provides a solution for this.
Setting method:
In the configuration file httpd. conf, use the NameVirtualHost command to set the virtual host, for example:
NameVirtualHost 111.22.33.44
ServerName www. domain. tld # domain name is recommended here
DocumentRoot/web/domain
At the same time, the DN
, use the NameVirtualHost command to set the virtual host, for example:
NameVirtualHost 111.22.33.44
ServerName www. domain. tld # domain name is recommended here
DocumentRoot/web/domain
At the same time, the DNS defines www. domain. tld pointing to 111.22.33.44.
Note: When the IP address is used after the NameVirtualHost command, any URL request using the IP address is for the VM, and the master server wil
Reference: Dragon Fruit College http://www.roncoo.com/share.html?hamc=hLPG8QsaaWVOl2Z76wpJHp3JBbZZF%2Bywm5vEfPp9LbLkAjAnB% 2bnhpf8rhqmasz9u%2ff1cck%2fi%2bowuj8pvcwcq6a%3d%3d
Dubbo recommends using Zookeeper as the registry for services
As long as more than half of the nodes in the Zookeeper cluster are normal, then the entire cluster is available externally. It is based on this feature that the number of nodes in the ZK cluster should be odd (2n+1:3, 5, 7 nodes) is more appropriate.
ZooKeeper an
transmission.
Email Service
SMTP (Simple Mail Transfer Protocol): Simple Mail transmission protocol, is a push type protocol, each message uses 7 ASCII code;
POP3 (Post Office Protocol-Version3): the third version of the post office access protocol, is a pull (pull) type protocol;
IMAP (Internet Mail Access Protocol): Internet mail access protocol, which provides users with commands to remotely create folders and move emails in folders;
HTTP: Web-based email access protocol.
DNS (Domain Na
www.baygroup.org # domain names are recommended hereErrorLog/groups/baygroup/logs/error_logTransferLog/groups/baygroup/logs/access_logAt the same time, you need to configure the virtual network port or network card, and configure the corresponding settings in DNS.Ii. Name-based VM (supported by Apache1.3 and later versions)Although the IP type VM is good, it is not the best solution. It requires each VM to have a dedicated IP address, which is difficult to implement on some machines. A name-bas
different names, but the IP address is the same. Its advantage is that it is unlimited.The number of virtual hosts, which is easy to configure and use without additional hardware and software. The disadvantage is that the client must support this part of the Protocol,Browsers of the latest version are supported, but some earlier versions are not supported. However, Apache provides a solution for this.Setting method:In the configuration file httpd. conf, use the namevirtualhost command to set th
TLD Content Model analysis View
In the previous section, we analyzed the key features of WTP TLD content model, and briefly introduced the overall structure of WTP content model. In this section, we will develop a WTP TLD content model analysis view to help us more intuitively understand the so-called WTP TLD contents
engine, the tag tag is actually transformed into the operation of the tag handler class.
The custom tag tag has many features, such as:
· You can customize the tag label properties in a JSP page
· Accessing all objects in a JSP page
· Can dynamically modify page output
· They can communicate with each other. You can create a JavaBeans component and then call this JavaBeans component in a tag and call it in another tag.
· Tag allows you to nest with each other, and you can perform some complex i
we can fully grasp the development of Python, and has a certain practical experience in the project!
Python Automated Development Roadmap recommendations
Python Automated Development Roadmap
Http://edu.51cto.com/pack/view/id-291.html
51CTO College combined with the old Boys education jointly launched the Python Operations Automation Development Course, this series of courses include Python automation dev
the tag library available for Web ApplicationsDeclare a tag Library
Before using any custom tag, add the taglib command to the page to declare that the JSP page will use the tag defined in the tag Library:
The URI attribute indicates the URI that uniquely identifies the tag library Descriptor (TLD). The URI is described in the tag library descriptor. This URI can be direct or non-direct. The prefix attribute defines the prefix between the tag def
describes how JSP pages use labels and describes different types of labels.
To use labels, the page creator must do the following two things:
· Declare a tag library containing labels
· Make the tag library implementation available for Web applications
Declaring tag libraries
By adding the TAGLIB directive to the page before using any custom labels, declaring the JSP page will use the label defined in the tag library:
The URI attribute represents a URI that uniquely identifies the tag lib
tag tag is actually transformed into the operation of the tag handler class.Custom tag tags have many features, such as:· You can customize the properties of the tag tag in the JSP page· Access all objects in a JSP page· Can dynamically modify page output· This one can communicate with each other. You can create a JavaBeans component first, and then call this JavaBeans component in a tag,It can also be called in another tag.· Tag allows nesting of each other, and can do some complex interaction
JAKARTA struts structure porting the PHP development framework, using object-oriented development architecture and APIs, simulates an HTTP servlet container and uses the PHP Service page engine technology.
Download Address: http://mojavelinux.com/projects/studs/
The file structure is as follows:
As shown above, the files in Web-inf are the core files of the Studs framework (especially the files under Lib and TLD), where:
1.messages.properties file:
Cluster purpose: To achieve high availability, fault-tolerant function, cluster servers do not put in a physical machine, to disperse nodes, in order to achieve high availability, high fault tolerance, a provider hangs, there are other providers to ensure that the system normal, stable operation.
I. Environmental preparedness
EDU-PROVIDER-01 (192.168.1.121)
EDU-PROVIDER-02 (192.168.1.122)
Connecting to 192.
XAMPP is a very convenient debugging environment for local Apache + PHP + MySQL. you can install and test WordPress and other blogs and forums locally.ProgramVery convenient. Today, we will introduce how to use XAMPP to install multiple websites locally.
In general, we only need to put the website program under the XAMPP/htdoc directory, and then enter the IP address http: // 127.0.0.1/in the browser or enter the Domain Name HTTP: // localhost. However, we can only use one program to create on
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.