please try if following will work:
RewriteCond %{QUERY_STRING} ((forums|threads|members|resources|posts|help|tags|attachments).*)$
RewriteRule index.php /forum/%1 [R=301,L]
please don't rely on apache_get_modules(), it's a too apache specific function.
by default, litespeed support sendfile.
please refer
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:internal-redirect
your woocommerce script may need modify its code to support this...
no need whitelist IP, since you don't know the IP or IP range.
just try "Use Client IP in Header:Yes", it's no harm and safe. and then see if it's ok or any new issue ?
if the proxy IP is dynamic, there is only one choice, "Use Client IP in Header:Yes"
although the IP is dynamic, it should have a range ?
then add the IP range in firewall, only allow these IP to access your web server. spoofing will fail completely.
the issue resolved
the OS is Ubuntu 18.04.4 LTS
following 3 changes to make it work:
under Virtual Host » abc.xyz » Context, create
CGI Context Definition
URI /cgi-bin/mailman/
Path /usr/lib/cgi-bin/mailman/
add user www-data
set Virtual Host document root's owner:group as...
during litespeed start up, can you grep message similar as below in error.log
Create PHP handler [ea-php51] with PHP binary [/opt/cpanel/ea-php51/root/usr/bin/lsphp]
Add #1 suffix handler [ea-php51]->[ea-php51].
Associate [php51] with PHP handler [ea-php51].
1. is normal message, not error. can ignore it
2. not sure what it is, may relate to cloudlinux's i360 php extension. you can disable i360 for a while, to see if the message will disappear.
3. create a phpinfo page, to trace where sqlite3 is loaded. it tried to load twice. won't cause any real...
default is ProcessGroup mode, unless you explicitly set "LSPHP_ProcessGroup off"
please refer
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:process-mode
usually in litespeed, default setting already optimized
"Yes (Detached Mode)" is best option
"No" will work, not wrong.
"Yes" should be wrong. you can verify it by "ps -ef | grep lsphp|wc" right after web server start up.
for low traffic, you may not be able to measure their difference.