没有头脑 没有概念…
一点关于apache的配置
设置默认页: DirectoryIndex index.html index.htm index.php install.php
(服务器会从左到右依次检查是否存在这些文件,若存在,则默认打开)
禁止列出目录文件: Options -indexes
禁止访问网站:
Order deny,allow
Deny from all
Allow from [IP or Domain]
自定义错误页面:ErrorDocument 403 http://www.16dim.com/forbidden.html
401 – Authorization Required(未经授权)
400 – Bad request(错误的请求)
403 – Forbidden(禁止)
500 – Internal Server Error(服务器内部错误)
404 – Wrong page(文件没找到)
详细参考:http://www.cc5f.com/thread-53-1-2.html
Related posts
| 打印文章 | 这篇文章由tonsh于12月 17, 2009 2:54 pm发表在web应用, 关于16dim。你可以订阅RSS 2.0 也可以发表评论或引用到你的网站。 |