RedHat6.2 server configuration solution (2): Apache
Source: Internet
Author: User
Article Title: RedHat6.2 server configuration solution (2): Apache. 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.
Author: Tang haijing
Chapter 2 Apache
2.1 Introduction
Apache is the world's top Web server. According to Netcraft, a famous Web server survey company, more than 50% of the world's Web servers are using Apache.
Apache provides a variety of functions for our network administrators, including Directory Index, directory alias, content negotiation, configurable HTTP Error Report, SetUID execution of CGI program, sub-process resource management, server-side image ing, URL rewriting, URL spelling check, and online manual man. That is to say, if you have successfully installed and configured Apache on the Linux Server, your computer will also change as Apache takes effect and become a real Web Server, this change is indeed exciting. Along with the power of free software development, we have reason to believe that the future of Apache is bright.
In the Internet era, the release of external homepage has become an important means to establish the company's image, and the internal homepage has become the main method of company management. However, to implement these functions, we should first configure our Linux Server as a powerful Web Server. Apache is the most widely used Web server software today. This chapter describes how to configure Apache servers. I hope that my colleagues can read this article to achieve the goal of both theoretical practices and quickly become an outstanding network administrator in a short time.
2.2 Required System Resources
2.2.1 configuration file:
# The above two rows are the file permissions assigned to the new users of httpd, and their permissions are set to the lowest for security reasons.
ServerAdmin root @ localhost
# Set the email address of the Web administrator
ServerName thj
# Define the host name returned to the client when the client reads data from the server. The default value is localhost.
DocumentRoot "/home/httpd/html"
# Set the root directory of all documents provided by Apache. For example, if a user requests a request for www.mycompany.com/index.html, the response of apacheto the response is as follows: /home/httpd/html/index.html
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.