B
B
bossigorxxx2022-01-22 18:54:08
htaccess
bossigorxxx, 2022-01-22 18:54:08

How to block login to certain operating systems?

Is there any rule for blocking users from linux from entering the site? Tried the rule below but the site goes into a 500 error.

BrowserMatchNoCase Macintosh bad_os
BrowserMatchNoCase Linux bad_os
Order Deny, Allow
Deny from env=bad_os

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2022-01-22
@bossigorxxx

Order Deny, Allow

There must be no spaces after the comma
Order Deny,Allow

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question