I want to solve the Linux system on the Apache WEB server error, apache error log files can not find, I would like to put in which directory?The Apache log file provides system administrators with useful information, such as troubleshooting the WEB
This article mainly introduces the folder file creation, deletion, specific as follows:
Linux Delete Folder command
Linux Delete directory is very simple, many people are still accustomed to using rmdir, but once the directory is not empty, into
Eaccelerator Accelerated PHP Tutorial Program
What is Eaccelerator
Concept:Eaccelerator is a free and open source PHP accelerated, optimized, compiled, and dynamically cached project that can
By caching the PHP code after compiling the results to
Copy Code code as follows:
#!/bin/sh
Mypath= "/var/log/httpd/"
Myfile= "/var/log/httpd/access.log"
#这里的-x parameter to determine whether $mypath exists and has executable permissions
if [!-X "$myPath"]; Then
mkdir "$myPath"
Error logs and access log files provide useful information for system administrators, such as troubleshooting Web servers, protecting the system from a variety of malicious activities, or simply conducting a variety of analyses to monitor HTTP
Today, you configure Apache and Tomcat consolidation on REDHAT5 Linux to forward the address of the JSP page to Tomcat's address.
such as the real JSP address for http://127.0.0.1:8080/jsp/
You can also access it by accessing the
Delete directory, file rm (remove)Feature Description: Delete files or directories.Syntax: RM [-dfirv][--help][--version][file or directory ...]Additional Note: The Execute RM instruction can delete the file or directory, if you want to delete the
Have not found Apache log file generated more than a day, not generally big, if you Apache installed in the C drive, that can be miserable, not a few days hard disk is full, too scary, there is no way to optimize the log, so it is not so big? The
Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two parameters-rf that is: RM-RF
Apache Security reinforcementI. account settings
Run Apache with a dedicated user account and group.
1. Create users and groups for Apache as needed
2. Refer to the configuration operation. If no user or group is set, create a user and specify
(1)
Create a apache2 directoryMkdir–p/usr/local/apache2Extract the Apache source package to the Apache2 directory and compile Apache:./configure--prefix=/usr/local/apache2/--with-included-apr--enable-so--enable-deflate=shared--enable-expires=
First, lamp combination of basic knowledge Second, WordPress, phpMyAdmin installation LAMPLinuxApache (httpd)MysqlPHP, Python, Perl, Ruby, etc. Combination of A and p:Cgi:common Gateway Interface Universal Gateway Interface, which can be understood
Transferred from: http://www.cnblogs.com/top5/archive/2009/08/12/1544098.html1, rewrite rules introduction:The main function of Rewirte is to implement a URL jump, and its regular expression is based on the Perl language. Can be based on both server-
I. httpd-2.2 version installation and configuration1. Installing httpd-2.2.3#yun-y Install httpd2. View the files generated by the httpd installation#rpm-QL httpd | Less3. Start the service#service httpd Start4. Start-Up service
1. I will not talk nonsense about using the springboard before minimizing your log P.S access target. if you are a VPN or 3389, ssh will be used as a proxy. Remember one thing-the direct connection attack target is stupid 1.1 & nbsp; shell usage
Common linux Services-SSH and ssh public key authentication 1. ssh (secureshell) is installed by default. the package name is openssh, [root @ localhostlogs] yuminstallopenssh & hellip; & common linux Services-SSH and ssh public key authentication 1.
If the website cannot be opened, you must first check the log file and immediately open:/var/log/httpd/error_log. The last error is:
If the website cannot be opened, you must first check the log file and immediately open:/var/log/httpd/error_log.
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.