The main operation of the 1.web server1. Establish a connection-accept or reject client connection requests.2. Receive requests-read HTTP request messages over the network.3. Process the request-parse the request message and make the corresponding action.4. Access to resources-access the relevant resources in the request message.5. Build the response--use the correct header to generate the HTTP corresponding message.6. Send response-sends a generated
It's very simple-to-configure a IBM HTTP Server/apache service on a Server. But sometimes, considering the cost or any other reason, we need to share a physical server and configure 2 or more Web SE Rvices. How to do it?Here I lists the major steps for reference and for my own record. These articles would not be only contains what to configure, also would show you what to do some troubleshooting.All of the
I use rpm HTTP without log ... #CustomLog logs/Www.benet.com/access_logCommon //If you have, you can keep the two lines of source package installation. You can actually build it yourself .Documentroot/var/www/html/accpcomServerNamewww.accp.com#ErrorLog logs/Www.benet.com.error_logDitto#CustomLog logs/Www.benet.com/access_logcommon//Ibid.IP-based virtual hosts:First comment out: namevirtualhost This line (if the previous domain-based, there is no need
The following is a look at the Brother Tao's "learn Shiro with Me" and the video "a plunge into the Shiro" after the preparation of the memo and facilitate themselves and other people to learn.Personal homepage:http://www.itit123.cn/ Many other dry goods waiting for you to getStep one: Create a maven version of the Web project: http://blog.csdn.net/qq_19558705/article/details/49887717Required after creation: right-click on Project----> build path---->
The maintenance script is a bit messy, but as an example, demonstrates how to quickly use a tool to quickly achieve a goal:Application to: Shell and Python data interaction, data capture, code conversion
Copy Code code as follows:
#coding: Utf-8
#!/usr/bin/python
'''
Program Description: Apache access.log log Analysis
Analyze access to Web site I
Prior to studying Ubuntu later because of the relationship between Guangzhou's colleagues to learn CentOS, now learned a small foundation. Just have this resource, just study Ubuntu. I find Ubuntu is also very good, relative management and configuration is relatively simple. Share with you here, and record, may be useful in the future.
Explain the environmentLinux ubuntu ubuntu 10.04.3 x64 +apache2First, log on to your system, and remember to use roo
Solutions under Windows:
Check to see if the directory exists or if the directory has write permissions for everyone or authenticated users by looking for a path to PHP.ini's Session.save_path = "". It's generally okay.
Solutions for Linux:Today updated PHP, the result of the configuration of the phpMyAdmin landing in the "cannot create a session when an error occurs, check the PHP or Web server log, a
The following script can count the total number of visits to the site and how many times 404,500 occur. Statistics, we can combine the monitoring of the Bora record, and then you can see whether the site traffic anomaly, whether there is an attack, at a glance. You can also determine if a Web site program has an exception, depending on how many times you see 500.
Copy Code code as follows:
#!/bin/bash
#purpose: Count Nginx or
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.