.htaccess文件(或者"分布式配置文件"),全称是Hypertext Access(超文本入口)。提供了针对目录改变配置的方法, 即,在一个特定的文档目录中放置一个包含一个或多个指令的文件, 以作用于此目录及其所有子目录。作为用户,所能使用的命令受到限制。管理员可以通过Apache的AllowOverride指令来设置。
There are also two files: index.php and .htaccess.
还有两个文件:index.php 和 .htaccess。
The PHP configuration must match exactly, as specified in the php.ini file, the Apache directives in .htaccess files, or httpd.conf.
PHP 配置必须精确匹配,这一点在 php.ini 文件中、在 .htaccess 文件的 Apache 指令中或在 httpd.conf 中已经指定。
This file contains additional server directives that are loaded and followed on each request to the directory where the .htaccess file resides.
该文件包含额外的服务器指令,每次请求包含 .htaccess 文件的目录时将加载并应用这些指令。
应用推荐