I don't know who sorted it out for Linux. I can see it from my friend's BLOG.The following content has been collected to K8 Information Security notepad for your convenience.1./etc/passwd 0x2F6574632F7061737377642./etc/shadow 0x2f6574632f742561646f77
apache| Resolve the Symptom:
On a single server, start the Apache process with the Wacos user, and use the command immediately after startup Ps–ef | The grep httpd can see that a process is started, but a later access to the Web interface will make
The core regular modules were taken directly from the Apachelog module, and I almost didn't do anything.Apahelog Module Address: http://pypi.python.org/pypi/apachelog/1.0 #!/usr/bin/env python #coding =gbk "" "Apache Log Parser, Module Apahcelog:
If there is a reverse proxy in the structure, the log records on the backend machine will be the proxy IP address, and the real IP address cannot be seen, the backend code can be solved by setting the real IP address in the header. Add the following
Exception handling Try catch default will the error message be recorded in Apache log?
Does the try catch write the exception to the Apache error log?
or the manual file_put_contents ();
If the try catch and error handling are automatically
Author: snail IlAbstract: You have no patience to read all the following content, because the conclusion is nothing more than the following two points:1. Use cronolog to clean and securely track apache logs2. Merge and sort multiple logs with sort-m
Ec (2); as a production environment, it is often necessary to use SSL to support the https protocol, which mainly increases SSL support for Apache. 6. Configure apache to support ssl: 1. Modify the Apache configuration file viusrlocalapacheconfhttpd.
Reference: http://jingyan.baidu.com/article/363872ec870f6e6e4ba16feb.htmlThere are eight scenarios in which Apache virtual hosts are configured based on different scenarios. First look at what kind of situation your virtual host belongs to, and then
Article Title: how to plan a high-capacity Apache server. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I.
1. Define the log formatA long time ago, there was only one log file format, which was a "public format" and many people were used to this format. The custom log format appeared later, and it seems that the custom log format is more popular, even
To plan a high-capacity web server, we will do it in the following steps:
I. Network Environment
----| (Eth0: 192.168.11.8) | (eth0: A. B. C. d)| A | -------------------- | B | -------------> ISP-- (Eth1: 192.168.11.5 )--Web.company.com
Httpd log and log rotation tool, httpd log Rotation
Directory:1.1 Error Log ErrorLog1.2 access log CustomLog1.3 log rotation: rotatelogs Tool1.4 log rotation: cronolog Tool1.5 comparison between rotatelogs and cronolog
The types of logs to be
A is a web server inside the lan. Install Redhat Linux 6.xand compile Apache + PHP4 + MySQL
B is the company firewall, and the external address is a. B .c.d, which is the only path to the Internet. Run Apache on B
Reverse proxy to internal machine
Rotatelogs Gadgets with Apache
The syntax is as follows:
Rotatelogs [-l] logfile [rotationtime [offset]] | [Filesizem]
Parameter explanation:
-L: Use local time instead of GMT time as a time benchmark. Note: using-l in an environment that
HTTPS (full name: Hyper Text Transfer Protocol over secure Socket Layer), is a security-targeted HTTP channel, simply speaking, the safe version of HTTP. The SSL layer is added to HTTP, and the security basis for HTTPS is SSL, so the details of the
Why do you want to split the log?
With the increase of website access, the log files generated by the Web server will become larger, if not split management, a single log file will become unusually large, not conducive to the comprehensive
1, based on IP address of the virtual host
Copy Code code as follows:
Listen 80
Documentroot/home/httpd/html1
ServerName www.ok1.com
Errorlog/usr/local/apache/logs/error1_log
Customlog/usr/local/apache/logs/access1_log
A is a Web server inside the LAN, install Redhat Linux 6.X, compile Apache+php4+mysql
B is the corporate firewall, the external address is a.b.c.d, is the only path to the Internet. Also run Apache on B
Do reverse proxy to internal machine B.
Apche Log Series (1): Access log
Want to know when and what people are browsing the content of the site. See Apache's access log to know. The access log is the standard log for Apache, which explains in detail the contents of the Access log and the
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.