.htaccess文件(或者"分布式配置文件"),全称是Hypertext Access(超文本入口)。提供了针对目录改变配置的方法, 即,在一个特定的文档目录中放置一个包含一个或多个指令的文件, 以作用于此目录及其所有子目录。作为用户,所能使用的命令受到限制。管理员可以通过Apache的AllowOverride指令来设置。
There are also two files: index.php and .htaccess.
还有两个文件:index.php 和 .htaccess。
The following code should go in a file called ".htaccess "in your main website folder.
下面的代码应该在一个名为“. htaccess”的文件里,这个文件应该在你网站的根目录下。
Htaccess files allow web publishers to use commands normally only found in configuration files.
htaccess文件允许web发布者使用命令只在配置文件中用到的命令。
应用推荐