In Mod Security, the OWASP CRS 4.x have plugins (formerly "exclusion packages"). I'm trying to enable them in my custom modsecurity conf. Since I'm using DirectAdmin, this is the file:
/usr/local/directadmin/custombuild/custom/openlitespeed/conf/httpd-modsecurity.conf
According to the CRS...
That's what I read on the Litespeed documentation page, but it's not showing up in the error log. I'll try restarting and rebuilding everything. One thing I did different, I used Directadmin's tool (under Custom 5) to add the logLevel line. So mine looks like this:
rewrite {
enable...
Thanks, that's very helpful!
Shouldn't I also set the RewriteLog directive?
Something like:
# Log to a file:
RewriteLog "/usr/local/var/apache/logs/rewrite.log"
If not, where would I look for the logged information?
I can't seem to find the correct way to add a redirect line in a htaccess file, after changing the WordPress permalink structure.
Basically I want to translate this Apache line to OLS:
RewriteRule ^[0-9]{4}/[0-9]{2}/[0-9]{2}/(.*)$ /$1 [R=301,L]
How hard would it be to build a tool that...
Thanks!
Any special steps I should consider when installing memcached, since this is OLS with LSPHP and not Apache?
The main reason I went for LSMCD was to avoid any conflict with OLS and LSPHP.
I found the previous VERSION.txt file, it says 1.4.17
I just updated to 1.4.20, but after what you said, I think I'll be better off with vanilla memcached (I'm not using that feature you mentioned).
Yup. All I want is to alleviate some of the load my DBs have to handle.
I was trying to find out which version of lsmcd I'm running before I install the update (since last month on github you recommended me to update because of another error), so started lsmcd again and the server got stuck. Couldn't even telnet to lsmcd.
Then I cleaned the directory you mentioned...
I've been watching these events lately (once a day), where sites are suddenly down and I get a flood of the infamous "No request delivery notification has been received from LSAPI application, possible dead lock." error.
It doesn't seem to be caused by traffic (only) and server resources seem...
After checking the log file, I noticed this error every few hours:
`2021-03-19 03:02:12.701 [ERROR] [__root] [SHM] [-1-11:0x1cebab0] FATAL ERROR alloc2 cross large page boundary, offset: 30FFC00, size: 1072. You must remove all of the files in /dev/shm/lsmcd and restart the lsmcd server`
The...
Cool, that worked (putting it at the begging of the file). Wonder what blocked it? Considering I only have the stuff from LS Cache WP plugin and WordPress default.
I've been trying a few rules and nothing seems to work. All I want to do is change the error from 404 to 410 whenever someone (specially Google's bot) tries to access the subdirectory /forums/*
RewriteRule ^forums/ - [G]
Does not work
Regarding xmlrpc actually there is an easy to follow guide on how to achieve this on the KB:
https://openlitespeed.org/kb/customization-hooks-in-directadmin/
I'm now trying to implement recaptcha on the wp-login page...