Search results

  1. M

    litespeed modsecurity - dynamic blocking

    Yes, it should work. LSWS supports modsec collection operations. Just Litespeed modsecurity engine does not write the collection data to disk, so it wont be retained after restarting LSWS.
  2. M

    [Resolved] modsecurity bug - can't block traffic when HTTP request header is missing

    Please do a force reinstall of 4.2.6, should be fixed now.
  3. M

    [Resolved] modsecurity bug - can't block traffic when HTTP request header is missing

    Turn on Sec engine debug logging by changing the debug level to 9 http://www.litespeedtech.com/docs/webserver/config/reqfilter#censorLogLevel then check the error log.
  4. M

    [Resolved] modsecurity bug - can't block traffic when HTTP request header is missing

    replace the second rule with You should stop using modsec 1.9 syntax, use >2.0 rule syntax.
  5. M

    [Resolved] Moving licences between servers

    just cancel and reorder if you do not need it now.
  6. M

    modsec debug output

    6041 is an internal state of out "Pattern Matching" code, it indicates a match (non-zero return indicates a match). If the blacklist.txt does not contain a substring of "xxxxxxx@xxxx.com", it could be a bug in our pattern match engine.
  7. M

    Litespeed + varnish

    http://www.litespeedtech.com/docs/webserver/config/general#useIpInProxyHeader
  8. M

    cPanel SSL Proxy Subdomain - 500 Error

    no plan to support HTTPS proxy backend anytime soon. The solution I suggested still only allow https access from outside if you configure iptables.
  9. M

    litespeed optimization for 32gb ram server

    If the server is dedicated for a large web site, you need to make adjustments. If you do not use PHP suEXEC, PHP running as "nobody", then you can update "Max connections" to a higher value, at the same time, also adjust "PHP_LSAPI_CHILDREN" env to match it. If you use PHP suEXEC, you need to...
  10. M

    [Resolved] xcache resetting cache every 36 seconds if left idle

    Please check the other thread about keeping worker group alive: http://www.litespeedtech.com/support/forum/showthread.php?t=7853
  11. M

    cPanel SSL Proxy Subdomain - 500 Error

    LSWS wont proxy a backend via https, so have to use HTTP backend, what you need to do is: You need to update cpanel templates under /var/cpanel/templates/apache.../main.default comment out RewriteCond %{HTTP_HOST} ^cpanel\. RewriteCond %{HTTPS} on RewriteRule ^/(.*)...
  12. M

    [Resolved] Workergroup - Keeping parent processes alive

    The solution now is to uses the maxIdle to control #1, for #2, to use http://www.litespeedtech.com/docs/webserver/config/extapps#pcKeepAliveTimeout if a child loses its connection to web server, it will die. Right now, LSWS override "LSAPI_MAX_IDLE" to the same value set by "Max Idle"...
  13. M

    Litespeed crashed

    Yes, you should force update, if it is still happening, we will investigate.
  14. M

    [Resolved] Allow list, confirmation.

    just use 199.83.128.0/21T 198.143.32.0/19T 149.126.72.0/21T 103.28.248.0/22T 185.11.124.0/22T
  15. M

    [Resolved] Allow list, confirmation.

    The netmask should be 255.255.255.0, 255.255.127.0, etc. For individual IP, no need to specify netmask.
  16. M

    [Resolved] Issue with mod_headers

    You can use <IfModule mod_headers.c> Header set X-WebServer "server1" </IfModule> Unset header is not working with LiteSpeed yet, maybe in 5.0. However, you can use...
  17. M

    Having problems after installing Lite Speed

    use /usr/local/lsphp55 instead.
  18. M

    Having problems after installing Lite Speed

    You need to fix You need to build PHP 5.5.x with LSAPI 6.6 then make sure /usr/local/lsws/fcgi-bin/lsphp55 is valid. You can build PHP 5.5.x from our web console, or if you use cPanel or directadmin, you can build matching PHP from the control panel plugin.
  19. M

    Lsws 4.2.5, php lsapi 6.4

    when you manually apply LSAPI 6.6 code to sapi/litespeed, only copy over *.c *.h, do not change other files. Or, use LSWS web console to prepare the code for you.
Top