If your server directory structure is this:
/usr/corsak/www/maindir
If the allowoverride support. htaccess file is turned on in the Apache directive, each access is searched
The. htaccess of the Apache server is a very powerful distributed configuration file. Learn to use. htaccess, which can implement many functions for VM users. Here is an easy-to-understand. htaccess introduction, which is very suitable for getting
Original article:Http://notebook.rose.czwz.com/archive/2007/09/14/htaccess.aspx. Htaccess Guide
This is an introduction to. htaccess and a document about the. htaccess application that is easy to understand. I translated it at will and
What is. htaccess?. The htaccess file (or "distributed configuration file") provides a method for changing the configuration of directories, that is, to place a file containing one or more commands in a specific document directory, to act on this
Today, the Local debugging PHP program, the use of the. htaccess, and the default configuration inside. htaccess, found on the Internet to open. htaccess, a feasible way for friends to learn from. (Open my His method not, look up a bit allowoverride
The. htaccess file provides methods for changing the configuration of each directory.Working Principle and usage
. The htaccess file (or "distributed configuration file") provides a method for changing the configuration of each directory, that is,
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
Through the. htaccess settings you can: Implement folder password protection, redirect, custom error page, change your file name extension, url rewrite, block IP, prohibit directory list, prohibit directory running a type of file, modify default
. htaccess access Control (Allow/deny) 1. Verify that support is supported.htaccess
Create a new file in the directory .htaccess , essay input A string of characters (meaningless), see what reaction, if it is a 500 error, indicating that
1. How to get your own local Apache server support. htaccess
How do I get my local Apache server to support ". htaccess"? In fact, simply modify the Apache httpd.conf settings to allow Apache support. htaccess, take a look at the operation.
Open
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.