【发布时间】:2016-01-08 11:02:41
【问题描述】:
在错误的 ip 上查看目录会呈现 403:
order deny,allow
deny from all
allow from 111.222.333.444
简单明了,让我们继续...
然后尝试吞噬一些代码来呈现 404 而不是 403:
order deny,allow
deny from all
allow from 111.222.333.444
RedirectMatch 404 ".*\/\..*"
以上不起作用,我错过了什么?
规格
1. .htaccess 在子目录中
2.文件由虚拟主机执行
注意
通过渲染,我的意思是接收标题与视觉技巧。
【问题讨论】:
标签: apache .htaccess virtualhost