MyTFLS社区
求助!谁知到如何删除服务器内的.htaccess? - 打印版本

+- MyTFLS社区 (https://community.mytfls.com)
+-- 论坛: 电脑区 (https://community.mytfls.com/forum-19.html)
+--- 论坛: 系统+网络+硬件 (https://community.mytfls.com/forum-20.html)
+--- 主题: 求助!谁知到如何删除服务器内的.htaccess? (/thread-11204.html)



求助!谁知到如何删除服务器内的.htaccess? - 羽扇纶巾 - 2006-4-2

那个东西相当讨厌。
有什么软件吗?
删除、覆盖、编辑都不行。

那个phpspy是不是可以?
能详细说说吗?
什么叫phpspy用angel的?


- Metmet - 2006-4-2

给你查了一下Apache的Tutorial......
定义如下:
代码:
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
删除的方法;:
In general, you should never use .htaccess files unless you don't have access to the main server configuration file.
一般来讲.... 如果你不用需要访问主要服务器配置文件的话就完全部需要'.htaccess' 文件
人们常常错误的认为User Auth实需要这个文件来完成的,,事实上你可以把User Auth放到主配置文件中.而且这样更好..
Htaccess主要空间服务商是用来给每个用户独立的文件夹权限所使用的(可以类比一下虚拟服务器)....

如果你不提供空间服务的话呢......可以在Httpd.conf里面加这样一行;:
代码:
AllowOverride None

PS;: 看了一半发现多打了一堆字...... ft.... 凑户看吧.... 就当我混稿费了 ^_^

[ Last edited by Metmet on 2006-4-2 at 14:53 ]