Answer the question
In order to leave comments, you need to log in
Apache has two variables - SetEnvIfNoCase and BrowserMatchNoCase. Which one is better/faster?
Greetings
I read and do not understand the difference in the speed of the two variables:
# вариант 1
SetEnvIfNoCase User-Agent "yandex.ru" fuck_you
SetEnvIfNoCase User-Agent "google.ru" fuck_you
...
Deny from env=fuck_you
# вариант 2
BrowserMatchNoCase "yandex.ru" fuck_you
BrowserMatchNoCase "google.ru" fuck_you
...
Deny from env=fuck_you
# есть еще другие варианты, но хотелось бы получить представление о работе именно этих двух.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question