.htaccess: how to restrict access to a single file by IP?

前端 未结 4 797
没有蜡笔的小新
没有蜡笔的小新 2020-12-01 07:55

I\'ve look all over, but keeps running into same info that talks about directory level IP restriction, which usually looks something like this:

Order Deny,A         


        
4条回答
  •  庸人自扰
    2020-12-01 08:48

    I think the directive needs to be:

    Order deny,allow
    

    for the answer above to work (at least for the IP Alone solution).

提交回复
热议问题