This article is for Apache httpd version 2.2. htaccess official Help document translation, and strive to be rigorous and accurateApache HTTP Server Tutorial:. htaccess fileThe. htaccess file provides a way to configure modifications based on each
In Apache. the htaccess file (also known as the "distributed configuration file") provides a method for changing the configuration of directories, that is, to place a file containing commands in a specific document directory, to act on this
. The htaccess file is an important configuration file in Apache. Its format is plain text. It provides a method for changing the configuration of directories, you can place a file containing one or more commands in a specific document directory to
. htaccess is a plain text file that contains instructions related to Apache server configuration: URL rewriting, custom error pages, MIME type configuration, access control, and so on. Mainly embodied in pseudo-static applications, image anti-theft
I. The basic role of htaccess
. htaccess is a plain text file containing instructions for Apache server configuration.The main roles of htaccess are URL rewriting, custom error pages, MIME type configuration, and access control. Mainly embodied in
I. Basic role of htaccess. htaccess is a plain text file that contains instructions related to Apache server configuration.The main functions of the. htaccess are URL rewriting, custom error pages, MIME type configuration, and access control. Mainly
I. Basic functions of. htaccessTo enable. htaccess, you must modify httpd. conf, enable AllowOverride, and use AllowOverride to restrict the use of specific commands.If you want to use a file name other than. htaccess, you can use the AccessFileName
I. Basic role of htaccess
. htaccess is a plain text file that contains instructions related to Apache server configuration.The main functions of the. htaccess are URL rewriting, custom error pages, MIME type configuration, and access control.
Use. htaccess to cache browser image files ,. Using. htaccess to cache browser image files. for image websites, you need to download images again every time you open the page. this is a waste of traffic. In this case, you need to use. htaccess to
original articles, reproduced please specify: reproduced from the electric Shang Sharong ec-shalom.com, specialized in electric business.The concept of caching has not been clear, resulting in the use of PHP write cache is also very 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.