I. Web services and how it works
The implementation of Web services takes the client/server model. The client runs a Web client (browser) that interprets and displays the Web page, the corresponding user's input request, and passes the user request through the HTTP protocol to the Web server. The most basic function of running a server program on a Web server is to listen for and respond to HTTP requests and send request processing results to the client.
Web services can often be divided into two types: static Web services and Dynamic Web services.
The workflow details are as follows:
1, the user to use a browser or other programs to establish a client-server connection, and send a browse request.
2. After the Web server receives the request, it returns the information to the client.
3, the communication is complete, close the connection.
Second, the Apache Web server RPM installation
Four packages:
httpd-2.2.3-6.e15.i386.rpm
httpd-mannual-2.2.3-6.e15.i386.rpm
system-config-httpd-1.3.3.1-1.e15.noarch.rpm
httpd-devel-2.2.3-6.e15.i386.rpm
Rpm-ivh ... Complete..
Third, server configuration and testing
http://blog.csdn.net/guofengdidai/article/details/9038557
And this is basically the same.
The main should be based on the domain name of the virtual host, that the different domain names to access the same IP when the home page is different, and then, based on the domain name and IP-based virtual host more than the DNS service.
And then... Virtual host to use the IP, do not forget to add the corresponding virtual network card.
Test based on the name of the server, it is best to nslookup parse it ...
Http://www.360doc.com/content/13/0116/21/1317564_260603135.shtml
The servername in the domain-based virtual host must match the corresponding domain name ...
Port-based and not successful ....
A few days to drag ... There is still no deep understanding of the principle ... t_t so blog also write very not serious ...
Redhat Enterprixe 5.0 Web service configuration and management