Answer the question
In order to leave comments, you need to log in
How to rewrite 403 response to 404 in RewriteRule?
My way doesn't work!
<FilesMatch "^\.ht">
Require all denied
ErrorDocument 403 /err/404.html
RewriteEngine on
RewriteRule .* - [R=404,L] #не робит
</FilesMatch>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question