Search results

  1. N

    Cannot list directories when connecting via FTP while running Litespeed

    >Would it affect the user downloads if I set the parameters as you have provided? yes, as the function suggests, it'll limit per user's bandwidth / connections etc. in the graph, Http Used: 3,997 Http Free: 3 the free http connections is too few --- please increase lsws web admin -> Server ->...
  2. N

    Cannot list directories when connecting via FTP while running Litespeed

    ok. but the info already enough. root cause found. here's a configuration example FYR only -- you need adjust it yourself per your server's status. Static Requests/second:20 Dynamic Requests/second:2 Outbound Bandwidth (bytes/sec): 512K Connection Soft Limit: 20 Connection Hard Limit:15
  3. N

    Cannot list directories when connecting via FTP while running Litespeed

    please provide the access to the server and detail steps to reproduce the issue. another possibility is that the NIC card already reach its max limit --- 1Gbit during high traffic. if so, what can do at litespeed side is to set lsws web admin->Server->General->Security->Per Client Throttling...
  4. N

    Cannot list directories when connecting via FTP while running Litespeed

    per https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:nf-conntrack-table-full what's following value? #cat /sys/module/nf_conntrack/parameters/hashsize
  5. N

    Migrate problem from Apache to Litespeed - 403 error

    please check and adjust following settings: lsws web admin->Serer->Security->File Access see if it can resolve your issue.
  6. N

    lsws restart all time

    this has narrowed down the scope greatly. most likely a rule caused 100% CPU, now need figure out which rule. what mod_security rule set are you using ? to figure out which rule, I think you can enable half of all the rules. if no 100% CPU issue, then the problem rule should exist in another...
  7. N

    lsws restart all time

    1. if disable mod_security, will the issue gone? 2. you can strace the 100% CPU process, to know what it's doing when 100% CPU: strace -p pid-of-100%-CPU-process 3.you can provide us the access to the server to watch the issue and troubleshoot on it. >its happend every 5 min (arround) while...
  8. N

    [Resolved] After switch from Apache to LiteSpeed permalinks its not working in Facebook

    Thanks for the sharing! so disable "W3 Total Cache Gzip Compression" has made the magic.
  9. N

    lsws restart all time

    what's the version of lsws ? please upgrade to latest 4.2.16 if not yet. if still 100% CPU, try diable mod_security first, see if any difference. anyway, need you provide more information.
  10. N

    [Resolved] WARN file size is over 100K, could be a bad .htaccess

    recommend to use rewritemap: http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritemap to greatly reduce the .htaccess size and speed up the process. RewriteMap BADIPLIST txt:/path/to/file/badip.txt RewriteCond ${BADIPLIST:%{REMOTE_ADDR}|0} =1 RewriteRule . - [F,L] the format of...
  11. N

    [Resolved] litespeed + modsecurity rules

    in theory, you don't install apache. just keep apache's configuration file is fine. but in practice, you'd better to install apache and it's easy on centOS. if apache start up normally, then that means apache's httpd.conf is error free. then you can have litespeed read apache's configuration...
  12. N

    [Resolved] litespeed + modsecurity rules

    Hi, your apache's configuration file should be a complete one. default installation CentOS 5.10 will install apache, which configuration is at /etc/httpd/conf/httpd.conf you can add mod_security rules in to existing /etc/httpd/conf/httpd.conf which is a complete apache configuration file, then...
  13. N

    [Resolved] After switch from Apache to LiteSpeed permalinks its not working in Facebook

    we'd love to fix bug, but we need reproduce it first. can you give us more information about this "bug". 1. is the website a wordpress site? www.tras...com 2. the "Open Graph Object Debugger" is a facebook tool ? 3. so from the facebook tool, open http://www.tras....com/cele...-armyland-2014/...
  14. N

    [Resolved] After switch from Apache to LiteSpeed permalinks its not working in Facebook

    do you mean the site www.tras...ate.com is powered by litespeed and has problem ? what's the litespeed version ? we've received bug report relating to facebook and fixed in 4.2.14. please force-reinstall 4.2.14 or 4.2.15, see if the issue still exists. ssh to the web server, on command line...
  15. N

    Why is LS Caching Error Pages (403)?

    I don't under your php code well. but here's a more explanation of 'X-LiteSpeed-Cache-Control: no-cache' 1. it won't show up in the response header. it's internal header, when lsws receive this header from php script, it won't save the output as cache and won't pass the header to response...
  16. N

    which PHP version for prevent 503 error

    please let us know why you have such question. when you encounter 503 error, most likely a configuration error, simply changing php version won't help. follow https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:503-errors to fix it is the right way. it's like "which PHP...
  17. N

    Why is LS Caching Error Pages (403)?

    >I'm going to go through and make some code changes so that it'll play nicely with caching. you can try to put following php code in the mod somewhere: header('X-LiteSpeed-Cache-Control: no-cache'); this tell litespeed not cache the page generated by php engine. it has been used in vBSEO + lsws...
  18. N

    Why is LS Caching Error Pages (403)?

    can you PM the a URL which is cached with 403 ? the csf (or firewall, iptables) takes effect before the IP reach any application on the server, including litespeed, it's OS level. so can ignore it in our discussion.
  19. N

    Why is LS Caching Error Pages (403)?

    suggest: 1. move up following lines to before "RewriteEngine on" #Custom Error Pages ErrorDocument 404 /404.php ErrorDocument 403 /403.shtml 2.move following lines up to before "LS Cache" rules: # Start Deny attempts to view the config file. <Files includes/config.php> Order allow,deny Deny...
  20. N

    [Resolved] vBulletin 4 Home Page Sometimes Malformed

    Thanks for the sharing! so above rewrite rules is the final working rules. Yes, redirect rules should put before cache rules. p.s. for RewriteCond %{HTTP_HOST} !^www.mysite.com$ [NC] RewriteRule ^(.*)$ https://www.mysite.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} http://www.mysite.com$ [NC]...
Top