Search results

  1. N

    Caching but Cache Expire Time / purging does not work.

    I re-read your first post: it's because in global setting: Cache Expire Time (seconds) Not Set if you set to 120 seconds, then it'll work as expected. this header is generated by php. since global setting Ignore Response Cache-Control Yes so it's ignored by lsws, just pass it as it is. only...
  2. N

    A list of tested mod_security rulesets

    https://www.atomicorp.com/wiki/index.php/ASL_WAF maybe refer 1) Embedded mode 2) Transparent/Proxy mode (T-WAF) then it's 1) Embedded mode you can set up apache first, install the mod_security module, make sure gotroot rules works. in the end, install litespeed. it'll read and parse the...
  3. N

    Caching but Cache Expire Time / purging does not work.

    please change the rule to RewriteRule (.*) - [E=Cache-Control:max-age=60] what's your setting for Server->Cache Storage Path Max Object Size
  4. N

    A list of tested mod_security rulesets

    we support the paid version -- many our users are now running it and working fine, although not good as apache, as stated in previous post. and we've been working on it to support any new rules after reviewing/investiagting them.
  5. N

    Caching but Cache Expire Time / purging does not work.

    you're right. Sorry, should be "RewriteRule". have you tried it ?
  6. N

    Caching but Cache Expire Time / purging does not work.

    in .htaccess, replace CacheEnable with Rewrite . - [E=Cache-Control:max-age=60] see if any issue.
  7. N

    503 Service Unavailable The server is temporarily busy, try again later!

    then no other issue except this one -- ??? this is a very unique usage of lsws --- make extreme use of lsws's graceful restart feature. now you've fixed many php related issues (in /usr/local/apache/logs/stderr.log), maybe no need such high frequency restart now. can you try or let me...
  8. N

    503 Service Unavailable The server is temporarily busy, try again later!

    what's reason you restart the web server every 2 minutes and every 5 minutes ?
  9. N

    Best PHP Handler for APC

    run "top -c" or "pstree -p", you can see many lsphp5 process, it's the php handler. > 3. about 5.3.27 & other 5.2.17 why other websites are set to use old version? to reduce memory usage? i use PHP 5.4 now. it's to separate the busiest website(or account) with others, easier to manage. you...
  10. N

    Best PHP Handler for APC

    > Is it suphp / dso / fcgi / cgi ? in fact these are terms / concept in apache way. litespeed's solution is lsapi php --- lsphp your current vBulletin heavily use APC variable cache, which is shared by all the php process which start / stop frequently, and you have several accounts each account...
  11. N

    Which .so is needed?

    yes. if lsphp run in suExec mode(not include suExec Daemon mode), just comment out the .so line in php.ini, is ok, even no need restart web server, since no consistent lsphp process running.
  12. N

    Which .so is needed?

    >I am not sure about timezonedb.so, what is it? http://pecl.php.net/package/timezonedb "This extension is a drop-in replacement for the builtin timezone database that comes with PHP. You should only install this extension in case you need to get a later version of the timezone database than...
  13. N

    5 second lag when same image called multiple times in a short period of time

    it looks an interesting issue. you can do the tests on the server directly to compare the result. just use ab (apache benchmark). for exmaple, #ab -n 20 -c 1 website.com/img1.jpg
  14. N

    Pre-Sales Question

    since you'll install lsws 2 twice, so need 2 lsws license. regarding mod_security, we focus on gotroot rules. refer this wiki: http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:mod_security_compatibility we're continuing to evaluate the not-yet-support rules reported from...
  15. N

    5 second lag when same image called multiple times in a short period of time

    5 second or 5 minutes ? >the same image is called about 10 times in a row from within a PHP script can you show the example php script ? let's see if can reproduce at our lab.
  16. N

    Safe Value for Memory Soft / Hard Limit ?

    restart lsws, no need reboot the whole server.
  17. N

    Safe Value for Memory Soft / Hard Limit ?

    the configuration looks normal
  18. N

    Zend Guard Loader problem

    please refer: http://www.litespeedtech.com/support/forum/showthread.php?t=5765
  19. N

    Zend Guard Loader problem

    http://www.saleinfo.org/phpinfo.php and php version is 5.3.27. usually it's /usr/local/lsws/fcgi-bin/lsphp5 the command line php, version is 5.3.3, different binary. run #which php to know its full path.
Top