A
A
Aksen_BY2020-06-02 00:10:19
htaccess
Aksen_BY, 2020-06-02 00:10:19

Sign "?" when using the [QSA] flag in mod_rewrite?

Good evening!

In the .htaccess file, after index.php, there is a ? : I understand correctly that when requesting the form: First found character ? replaced with & ?
RewriteRule (.*) index.php?$1 [QSA]

test.loc/?var1=1&var2=2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2020-06-02
@Aksen_BY

why would?
emnip, test.loc/?var1=1&var2=2 - short for test.loc/index.php?var1=1&var2=2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question