英文:
Is it possible we can use htaccess File in Nginx (I Did not able to use)
问题
I want to Use htaccess File Nginx
https://apkkingo.com/pixomatic-mod-apk/
https://apkkingo.com/pixomatic-mod-apk/
英文:
I want to Use htaccess File Nginx
https://apkkingo.com/pixomatic-mod-apk/
https://apkkingo.com/pixomatic-mod-apk/
答案1
得分: 1
不,您不能在Nginx Web服务器中使用.htaccess
文件。Nginx不支持在公共HTML空间中使用每个目录的配置文件。您需要编辑主服务器配置。
.htaccess
文件是Apache(每个目录)的配置文件。LiteSpeed(一个可替代Apache的“插入式”选项)也支持.htaccess
文件。
IIS本身不原生支持.htaccess
,但有一个付费插件(名为Helicon Ape)可以提供类似.htaccess
的功能(带有一些区别)。
英文:
No, you cannot use .htaccess
files with the Nginx webserver. Nginx does not support per-directory config files in the public-HTML space. You need to edit the main server config.
.htaccess
files are an Apache (per-directory) config file. LiteSpeed (a "drop-in" replacement for Apache) also supports .htaccess
files.
IIS does not support .htaccess
natively either, but there is a paid plugin (called Helicon Ape) that also gives .htaccess
like ability (with some differences).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论