.htaccess allow localhost problem

后端 未结 5 1252
走了就别回头了
走了就别回头了 2020-12-08 22:05

Here is the situation...

I have a cron job scheduled to run that is used to backup my database. Because of the way php is installed, I\'m having to use lynx to hit t

5条回答
  •  情深已故
    2020-12-08 22:51

    Leo's answer solved my issue. This is what I have set up so I can block direct access to images:

    
    
       order deny,allow
       deny from all
       Require local
       allow from all
    
    
    

    I didn't want to type out the ip, incase the local ip changed later

提交回复
热议问题