K
K
Kiazim Khutaba2019-08-01 01:57:54
Apache HTTP Server
Kiazim Khutaba, 2019-08-01 01:57:54

Why does Apache get a 403 error when passing < and > characters in a URL?

Hello!
I am building a website locally. When calling such an address
http://localhost/<test
, it throws a standard Apache 403 Error page. Moreover, the same is true when transmitting the symbol >. All requests go to index.php. But when passing these characters to the url, a 403 error occurs.
How can I make the request be redirected to index.php when a url is called with these characters ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2019-08-01
@saboteur_kiev

Because the standard for URL is
https://tools.ietf.org/html/rfc1738
The characters "<" and ">" are unsafe because they are used as the
delimiters around URLs in free text

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question