I. Web Server Security
PHP is actually a module function of the Web server. Therefore, you must first ensure the security of the Web server. Of course, to ensure the security of Web servers, you must first ensure the system security. This is a long
Previously, ShaunClowes and rfp both described in detail the problems encountered by php and cgi programs during programming, and how to break through the system through application vulnerabilities, such as Shaun Clowes and rfp, which have described
Php: modify php. ini to provide you with some information about the error information of the shielding program: display_errors = On & nbsp; by default, the error message is displayed in php. we will change it to: & nbsp php: modify php. ini to
This article mainly introduces how to modify php. if the INI file is used to disable or enable the error information, and a good method is provided, the error information can be seen and the information leakage prevention problem is caused by php.
Modify php. ini to block the error message. this is because the error display is disabled in php. ini and the error is written as a file. this is a result set by humans, and display_errorson is enough. However, the error is not displayed. we
Enhance php security by configuring server-side features. author: san
Home: http://www.nsfocus.com
Date: 2001-11-15
Previously, Shaun Clowes and rfp described in detail the problems encountered by php and cgi programs during programming and how to
PHP security configuration. Version: 0.02 I. Web server security PHP is actually a module function of the Web server. Therefore, you must first ensure the security of the Web server. Of course, to ensure the security of Web servers, it must be a
1. apache logs are recorded by date. in the apache configuration file, locate errorlogs/error_logcustomlogs/access_logcommonLinux system configuration method: Change it to ErrorLog & ldquo; |/usr/local/apache/bin/rotatelogs/hom "/>
1. apache logs
Today, you need to write a shell script to filter apache logs. you need to find the logs generated 10 minutes ago and put them in another file. In shell, the date command is used to process the date. but how can we get the time 10 minutes ago? I
The PHP Security Configuration method described in the wooden wing download system. I. Web server security PHP is actually a module function of the Web server. Therefore, we must first ensure the security of the Web server. Of course, to ensure the
Approaching Ossim sensor plug-inIn the last post to introduce the Ossim architecture of the composition, and then to introduce its "mysterious" plug-ins, read the plugin before you are familiar with the regular expression.Sensor Enable plugin
Today found the site has a problem, httpd CPU occupied high.
Viewing the apache\logs\access.log Discovery Request Response time has reached a few hours and the HTTP status code is 500.
To view the configuration
Apache cannot be started when include conf/extra/httpd-ssl.conf is enabled.
The httpd-ssl.conf in the
SSLSessionCache "shmcb:/Apache/logs/ssl_scache(512000)"SSLSessionCacheTimeout 300
When removed, it can start normally, but still cannot be
1. install linux
I will introduce the FTP installation method here. The installation method in this way is faster than the installation from CDROM, and
You cannot continue the installation because you cannot read the CD during the installation
1. If you think there are too many Apache logs, you can do this without stopping the Log service.Echo>/usr/local/Apache/logs/error_log
2. View Process Information
PS-Aux | grep vi
3. View CPU InformationCD/proc
Cat meminfo
4. Check
Provide a little information to you:
Display_errors = On
PHP default is to open the error message displayed, we changed it to:
Display_errors = Off
When the error display is turned off, the PHP function error message will no longer be displayed to
Author: San
Home: http://www.nsfocus.com
Date: 2001-11-15
The front like Shaun Clowes and RFP are more detailed introduction of PHP, CGI program encountered in the programming process, and how to break through the system through application
That is because the php.ini in the error display, the error is written as a file, this is the result of human settings, display_errors =on just fine.However, it is not shown that the error is safe, it is recommended to open when debugging, and then
Apache log does not log the specified format elementApache does not record the logs that point to the elements of the site, why this is required, and under what circumstances it is necessary to do so:When calculating the log PV, generally do not
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.