[Solved] I want to put a 403 forbidden in one of my directory [closed]


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

solved I want to put a 403 forbidden in one of my directory [closed]