G
G
Grizar2019-11-19 20:27:32
htaccess
Grizar, 2019-11-19 20:27:32

Why is the htaccess rule not working?

I create an htaccess file in the folder and insert the rule, but it does not work.
Why ?

<Files "*.zip"> 
Order allow,deny 
Deny from all 
</Files>

it is necessary that the
site.com/file1.zip
site.com/file2.zip link
does not download these files , it
does not work either
<Files "\.(zip)$">
Order Deny,Allow
Deny from all
</Files>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question