Search results

  1. N

    [Resolved] Custom HTTP response headers

    it's php related. no difference between apache and litespeed in this point. using php header() function: http://php.net/manual/en/function.header.php
  2. N

    Benchmark

    FYI -- there are some recent benchmark results in our blog.
  3. N

    Debug lsphp process

    >On one of the domains, php script is giving request time out error due to going into an infinite loop a suggestion is to use xhprof(http://pecl.php.net/package/xhprof) to profile the question page(or URL) another suggestion is to set "PHP suEXEC Max Conn" to 1, so one account only have 1...
  4. N

    [Resolved] error.log timestamp - fail2ban

    it should be OK. The root cause may be somewhere else. I installed fail2ban on 2 of our servers some time back. exactly same time stamp as yours.
  5. N

    [Resolved] Ban Hotlinking via htaccess

    can you post 1~3 lines of access log which still access the image files from myspace etc? so we can analyze why the rewrite rule not working?
  6. N

    [RESOLVED] SUExec Problem

    Good sharing
  7. N

    [Resolved] error.log timestamp - fail2ban

    what's the current time stamp format in error.log?
  8. N

    Need some help.

    Use Client IP in Header http://www.litespeedtech.com/docs/webserver/config/general/#useIpInProxyHeader
  9. N

    100% CPU Usage

    1.be sure lsws binary and OS match: both 32-bit or 64-bit. no mix. 2.you can try 4.1RC2, see if any difference. http://www.litespeedtech.com/support/forum/showthread.php?t=3497
  10. N

    100% CPU Usage

    when lshttpd reach 100%, can you capture a few seconds what it's doing? #strace -p <pid-of-lshttpd> also, output of "pstree -p", lshttpd subtree may give some clue.
  11. N

    503 errors with FireFox only

    not sure if the issue has any relation to: https://wiki.mozilla.org/Firefox3_Timeout_Problem if a known user frequently encountered 503 error, can he try network.http.keep-alive = false described in above link, and see if any difference?
  12. N

    How to disable/lock a domain?

    I think you can apply for same workaround described above. :)
  13. N

    How to disable/lock a domain?

    are you using any control panel(cPanel/WHM etc)? if you're not using any other control panel, just using LSWS's admin panel to configure virtual hosts, I think there are many workaround to do it. one way is to change its domain name to a non-exist domain, another way is to create a new...
  14. N

    Litespeed won't connect to MySQL! Please help! Will Pay!

    check mysql.default_socket in php.ini, if it matches with mysqld process. for example, in one of test boxes, ~>ps -ef|grep mysql ... mysql 2334 2287 0 Jan31 ? 00:16:35 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql...
  15. N

    [RESOLVED] Customized Auto Index per cPanel User

    something like: alias /_autoindex/default.php /home/domain1/myindex.php in httpd.conf, vhost section? so every vhost can have its own customized autoindex page or disable it. Looks like a nice trick worthing to recommend. Thanks
  16. N

    [RESOLVED] Customized Auto Index per cPanel User

    should be /_autoindex/default.php not /_lsautoindex/default.php any error message ?
  17. N

    PHP + php.ini + xcache

    make sure xcache.so is in extension_dir run phpinfo() to get the value of extension_dir
  18. N

    Requests Problem !!!

    what the output of: ~>ps -ef|grep lsphp5|awk '{print $1 $8}'|sort|uniq -c|sort -nr
  19. N

    Requests Problem !!!

    it may be normal. for example a website mainly for file upload, the file upload time is long and thus "Req in Processing" keeps increasing. and "Req/Sec" is new requests.
  20. N

    Virtual Host Root Folder DOES exist, LiteSpeed doesn't think so

    >Does this mean i would need to chmod all the files/folders 775? maybe not. for example, Document Root: $VH_ROOT/public/ can be what you want.
Top