rewrite code to block bad bots is working if I use the code in each of my virtual hosts vhconf.conf
RewriteCond %{HTTP_USER_AGENT} "seozoom|badBot" [NC]
RewriteRule .* - [F,L]
but global rewrite rules are not working.
I want to place the code in httpd_config.conf and it should stop bad bots...
Hi,
Thanks for reply.
I created this file :
/usr/local/lsws/conf/badbots.conf
RewriteCond %{HTTP_USER_AGENT} "testbadbot1|testbadbot2" [NC]
RewriteRule .* - [F,L]
where should I include this in httpd_conf.conf so that the rewrite rules work for all my sites?
should I include this line...
Hello,
I want to block some bad user agent strings for all my websites.
Instead of keeping the rewrite rules in each of my virtual host,
can I keep this code in httpd_config.conf so that it applies to all my websites?
# Global rewrite rules
rewrite {
enable 1...
Hi,
I want to sanitize user input for all my sites.
So, I want to keep this code in openlitespeed lsphp82 somewhere so that it applies to all my websites :
I want to run this php code at the beginning of all my php scripts.
foreach ($_GET as $key => $value) {
$_GET[$key] =...
Hi,
Thanks for reply.
I checked in http3check.net and it shows 0-RTT is enabled.
https://www.http3check.net/?host=https%3A%2F%2Fdatingso.com
when I check in ssllabs, it shows 0-RTT is not enabled.
https://www.ssllabs.com/ssltest/analyze.html?d=datingso.com&hideResults=on&latest
Please suggest...
Hello,
I have checked my site in ssllabs.com and it shows 0-RTT is not enabled.
Please suggest how to enable 0-RTT in http3 SSL ?
I am using letsencrypt, latest version openlitespeed in linux centos 8 cloud server.
Thanks