[ad_1]
Try adding these rules in the htaccess file in the folder you want to block:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ - [L,F]
0
[ad_2]
solved I want to put a 403 forbidden in one of my directory [closed]
[ad_1]
Try adding these rules in the htaccess file in the folder you want to block:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ - [L,F]
0
[ad_2]
solved I want to put a 403 forbidden in one of my directory [closed]