Home >Operation and Maintenance >Apache >How to modify apache default character set

How to modify apache default character set

步履不停
步履不停Original
2019-06-29 11:56:373544browse

How to modify apache default character set

The method to modify the apache default character set is as follows:

Open the apache configuration file httpd.conf,

under Windows The apache configuration file path is generally

D:\Program Files\Apache Software Foundation\Apache2.2\conf

FindAddDefaultCharset utf-8 , modify it to AddDefaultCharset gbk;

and then restart the apache service.

Detailed introduction

Apache is the world’s number one web server software. It can run on almost all widely used computer platforms and is one of the most popular web server-side software due to its cross-platform and security features. It is fast, reliable and can be extended through a simple API to compile interpreters such as Perl/Python into the server. At the same time, Apache is transliterated as Apache, which is a tribe of North American Indians called the Apache tribe in the southwestern United States. It is also the name of a foundation, an armed helicopter, etc.

Apache HTTP Server (referred to as Apache) is an open source web server of the Apache Software Foundation. It can run on most computer operating systems. It is widely used due to its multi-platform and security and is the most popular One of the web server-side software. It is fast, reliable and extensible through a simple API to compile interpreters such as Perl/Python into the server.

Apache HTTP server is a modular server, derived from NCSAhttpd server. After many modifications, it has become the world's number one web server software.

It can run on almost all widely used computer platforms.

Apache originated from the NCSAhttpd server. After many modifications, it has become one of the most popular web server software in the world. Apache is taken from the pronunciation of "a patchy server", which means a server full of patches. Because it is free software, people are constantly developing new functions and features for it, and modifying the original defects. Apache is characterized by simplicity, fast speed, stable performance, and can be used as a proxy server.

Originally it was only used for small or experimental Internet networks, and later gradually expanded to various Unix systems, especially the support for Linux is quite perfect. Apache has a variety of products that can support SSL technology and multiple virtual hosts. Apache is a process-based structure. Processes consume more system overhead than threads and are not suitable for multi-processor environments. Therefore, when expanding an Apache website, it is usually necessary to add servers or expand cluster nodes instead of increasing processor. So far, Apache is still the most used web server in the world, with a market share of about 60%. Many famous websites in the world such as Amazon, Yahoo!, W3 Consortium, Financial Times, etc. are products of Apache. Its success mainly lies in its open source code, an open development team, and support for cross-platform applications ( It can run on almost all Unix, Windows, and Linux system platforms) and its portability.

The birth of Apache is very dramatic. When the NCSAWWW server project ceased, those using the NCSAWWW server began exchanging patches for the server, and they quickly recognized the need for a forum to manage these patches. In this way, the Apache Group was born, which later created Apache based on NCSA.

Apache web server software has the following features:

Apache Server configuration interface

1. Supports the latest HTTP/1.1 communication protocol

2. Has a simple and Powerful file-based configuration process

3. Supports universal gateway interface

4. Supports IP-based and domain name-based virtual hosts

5. Supports multiple methods HTTP authentication

6. Integrated Perl processing module

7. Integrated proxy server module

8. Support real-time monitoring of server status and customized server log

9 .Support server-side include instructions (SSI)

10.Support Secure Socket Layer (SSL)

11.Provide tracking of user session processes

12.Support FastCGI

13. JavaServlets can be supported through third-party modules

If you are ready to choose a Web server, there is no doubt that Apache is your best choice.

For more technical articles related to Apache, please visit the Apache Tutorial column to learn!

The above is the detailed content of How to modify apache default character set. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn