M
mycwcgr_new
Unregistered / Unconfirmed
GUEST, unregistred user!
请问是否有一个网址可以验证 .htaccess 文件的正确性?
此外,请问谁能提供一个.htaccess文件的标准例子,可以完成IP拒绝的?
现在我看到.htaccess有三种写法,哪个对?如果都对,有什么区别?
1、
order allow,deny
allow from all
deny from 58.30.0.
deny from 59.64.
deny from 59.66.
2、
<Limit GET>
order allow,deny
deny from 210.25.
deny from 210.26.
allow from all
</Limit>
3、
<Files 403.shtml>
order allow,denyallow from all
</Files>
deny from 221.232.23.24
deny from 221.232.23.25
此外,请问谁能提供一个.htaccess文件的标准例子,可以完成IP拒绝的?
现在我看到.htaccess有三种写法,哪个对?如果都对,有什么区别?
1、
order allow,deny
allow from all
deny from 58.30.0.
deny from 59.64.
deny from 59.66.
2、
<Limit GET>
order allow,deny
deny from 210.25.
deny from 210.26.
allow from all
</Limit>
3、
<Files 403.shtml>
order allow,denyallow from all
</Files>
deny from 221.232.23.24
deny from 221.232.23.25