A
A
Andrew2016-04-22 23:18:25
Apache HTTP Server
Andrew, 2016-04-22 23:18:25

How to fix 403 Access forbidden when using certain characters in URL?

The problem is, there is htaccess, it has rules for routing everything to index.php
But when the following characters "appear" in the URL - "<" ,">", "*", "%", ":" , a 403 Access forbidden occurs , and accordingly the request does not reach index.php. Does anyone know how to fix this?

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]

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