当前位置:首页 - 文件后缀名大全 - .htaccess文件扩展名,.htaccess扩展名打开方式

.htaccess文件扩展名,.htaccess文件如何打开?

【文件后缀名辞典】提供后缀名.htaccess是什么文件?.htaccess是什么格式?文件后缀名查询服务,内容采编自【文件扩展名大全】等典籍。

输入需要查询的扩展名/后缀名:

请输入需要查询的扩展名/后缀名,例如:htaccess

.htaccess

文件类型:Apache HTACCESS File

扩展名为.htaccess的文件是一个Web文件。

文件说明:

Configuration file used by an Apache Web server that provides instructions for different directories of a website; htaccess is short for HTTP access, which is the protocol used for transmitting Web pages.

The .htaccess file can used to perform several important functions such as:

Define the index page of a directory (i.e. index.html or index.php)Specify the 404 (Page not found) error pagePerform 301 or 302 page redirectsDeny access from specific IP address or other websitesRestrict access to certain directories and pagesExecute MOD_REWRITE instructions

The .htaccess file is always named .htaccess and does not include a filename before the dot; it is placed in the root directory of a website and is processed by the Web server each time a Web page is accessed.

The Apache .htaccess Tutorial includes additional information about how and when to use .htaccess files..htaccess                                                                      

打开.htaccess文件

Mac OS

 

Windows

Apache Web server

Edit with any basic text editor 

Linux

Apache Web server

Edit with any basic text editor

其它内容

来源:. htaccess文件