How to hide certain file type using apache .htaccess?

前端 未结 6 959
不知归路
不知归路 2020-12-15 07:59

Its been a long time since I\'ve needed to crack open an .htaccess file...

What is the simplest way to 40x prevent access to a specific file extension through out the

6条回答
  •  心在旅途
    2020-12-15 08:06

    
    Order Allow,Deny
    Deny from all
    
    

    Loaded with some common extensions, add more as you need.

提交回复
热议问题