S steamx New Member Jun 7, 2021 #1 Jun 7, 2021 #1 OpenLiteSpeed 1.6.21 I tried to block DDoS requests like "/?12345" starting with ? symbol but cannot do this. How I can block such requests? Context exp:^/\? or exp:^/? did not block it. How I can do this?
OpenLiteSpeed 1.6.21 I tried to block DDoS requests like "/?12345" starting with ? symbol but cannot do this. How I can block such requests? Context exp:^/\? or exp:^/? did not block it. How I can do this?
Unique_Eric Administrator Staff member Jun 9, 2021 #2 Jun 9, 2021 #2 Hi, How about adding the following rules to the .htaccess and restart the webserver, it will block all request with QS Code: RewriteCond %{QUERY_STRING} !^$ RewriteRule .* - [F] By the way, this forum is for LSWS, if you have more OpenLiteSpeed questions please go to https://forum.openlitespeed.org/.
Hi, How about adding the following rules to the .htaccess and restart the webserver, it will block all request with QS Code: RewriteCond %{QUERY_STRING} !^$ RewriteRule .* - [F] By the way, this forum is for LSWS, if you have more OpenLiteSpeed questions please go to https://forum.openlitespeed.org/.