|
本帖最后由 追影 于 2014-3-4 16:12 编辑
APACHE: .htaccess规则:
RewriteRule ^Web/Tpl/.*/.*\.(html|xml)$ / [F]
RewriteRule ^Admin/Tpl/.*/.*\.(html|xml)$ / [F]
iis请参看:http://jingyan.baidu.com/article/c33e3f485a7c74ea15cbb50e.html 配置及rewrite
httpd.ini规则
RewriteRule ^(.*)/Web/Tpl/(.*)/*\.html [F]
RewriteRule ^(.*)/Admin/Tpl/(.*)/*\.html [F]
|
|