htaccess allowing access files by extension?

前端 未结 3 542
借酒劲吻你
借酒劲吻你 2021-01-31 19:36

I saw several htaccess example disabling some files to access:


   order deny,allow
   deny from all

3条回答
  •  走了就别回头了
    2021-01-31 20:08

    Did you try setting a

    deny from all
    

    outside (before) the tag, then changing the

    deny from all
    

    to

    allow from all
    

    inside? Something like

    deny from all
    
       order allow,deny
       allow from all
    
    

提交回复
热议问题