A
A
artshelom2019-03-28 12:41:12
Apache HTTP Server
artshelom, 2019-03-28 12:41:12

How to change request type?

How to change request type from OPTIONS to GET.
I can’t figure out how to change the request type in htaccess, I have the following code:

writeRule "(.*)\.(js|css|png|svg)$" "https://site.com/$1.$2" [L,R=301]

But for some reason, after this code, the request type changes to options, although there was a GET, how to make a GET?

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