.HTACCESS 文件扩展名

Apache HTACCESS File

开发者 不适用
受欢迎程度
3.9  |  34 
 
🔍使用File Helper直接在您的网络浏览器中打开 .HTACCESS 文件在线查看

什么是 HTACCESS 文件?

An HTACCESS file is a 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 to transmit webpages.

更多信息

A website's .htaccess file can be used to perform several important functions, including:

  • Defining the index page of a directory (i.e. "index.html" or "index.php")
  • Specifying the 404 (Page Not Found) error page
  • Performing 301 or 302 page redirects
  • Denying access from specific IP address or other websites
  • Restricting access to certain directories and pages
  • Executing 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 webpage is accessed.

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

如何打开 HTACCESS 文件

Because .htaccess files are plain text files, you can open and edit them with any text editor. To learn how to use an .htaccess with an Apache web server, refer to the Apache .htaccess Tutorial.

可打开或引用 HTACCESS 文件的程序

Windows
操作系统自带
Linux
Web
Android
分类: 网页
更新时间: 2021-01-15

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Apache HTACCESS 文件格式和 Mac, Windows, Linux, and Android 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们