由网友(回首阑珊三声叹)分享简介:我有一些设置,我想在.htaccess文件中使用。这些设置是一些功能在 /管理/工具文件夹级别..但我想包括 /管理员和 / 的位置为好。 我的问题是什么是把这个文件在??的最佳位置感谢更新 仅供参考。我想申请设置,如最大文件上传大小MAZ执行时间等解决方案 在地方一般规则:/的.htaccess地点/管理/特定的规...![404 找不到文件或目录怎么解决方法](https://p.xsw88.cn/allimgs/daicuo/20230902/190.png)
我有一些设置,我想在.htaccess文件中使用。这些设置是一些功能在 /管理/工具
文件夹级别..但我想包括 /管理员和
/
的位置为好。
我的问题是什么是把这个文件在??的最佳位置
感谢
更新
仅供参考。我想申请设置,如
最大文件上传大小
MAZ执行时间等
解决方案
在地方一般规则:
/的.htaccess
![404 找不到文件或目录怎么解决方法](https://p.xsw88.cn/allimgs/daicuo/20230902/190.png)
地点/管理/特定的规则:
/admin/.htaccess
地点/管理/工具/特定的规则:
/admin/tool/.htaccess
I have some settings which I want to use in .htaccess file. The settings are for some functionality at /admin/tool
folder level .. but I want to include some settings for /admin
and /
locations as well.
My question is what is the best location to put this file at??
Thanks
Update
Just fyi .. I want to apply settings like
max file upload size
maz execution time etc
解决方案
Place general rules in:
/.htaccess
Place /admin/ specific rules in:
/admin/.htaccess
Place /admin/tool/ specific rules in:
/admin/tool/.htaccess
相关推荐
最新文章