R
R
RastaZ2019-03-04 14:55:42
Apache HTTP Server
RastaZ, 2019-03-04 14:55:42

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 question

Ask a Question

731 491 924 answers to any question