A
A
Artem Prokhorov2021-06-24 22:36:18
open server
Artem Prokhorov, 2021-06-24 22:36:18

Why doesn't RequestHeader unset Authorization work?

I suspect that this behavior is only on open-server Apache, because I found this link to the question
https://stackoverflow.com/questions/4428903/remove...
where the answer is given with this command and it is liked, which, as it were, leads me on the idea that it should work.
Here is my code in Apache_2.4-PHP_7.2-7.4_server.conf:

<IfModule mod_headers.c>
 RequestHeader unset Authorization
</IfModule>

But the header is still visible in the browser console network.

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