拒绝所有htaccess

时间:2016-01-14 19:31:15

标签: apache .htaccess

使用组合时

    Order deny,allow
    Deny from all
allow from 127.0.0.1

以下

RewriteEngine off

    <Files 1.php>
        Order allow,deny
    allow from 127.0.0.1</Files>
    <Files 2.php>
        Order allow,deny
    allow from 127.0.0.1
    </Files>
    <Files 3.php>
        Order allow,deny
    allow from 127.0.0.1
    </Files>

我有500个内部服务器错误

0 个答案:

没有答案