Answer the question
In order to leave comments, you need to log in
Is it correct to make such .htaccess settings?
RewriteEngine on
RedirectMatch 403 /\..*$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
Answer the question
In order to leave comments, you need to log in
One line in .htaccess is enough:
Can only be denied (filtered) for startups:
see here , section: " Permissions on folders and files "
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question