Search results

  1. M

    LSAPI not working with ODBC

    Try a URL like the rails property page to have the ruby process started, then strace it.
  2. M

    LSAPI not working with ODBC

    Maybe you need to double check the permission with /etc/odbc.ini to make sure that the user that railsrunner run as has read permission. Also, you can try "strace" the ruby process.
  3. M

    Error message help please "Connection timed out!"

    Please make sure all required gem has been installed. check stderr.log along with rails log file. restful routes may require ENV['INLINEDIR'] or ENV['HOME'], you should set one at least.
  4. M

    LSAPI not working with ODBC

    Any environment variable related to unixODBC setup should be set. You can try add all envirnonment available under your shell.
  5. M

    New 3.3.3 version not showing up in version management

    maybe the same issue as http://www.litespeedtech.com/support/forum/showthread.php?t=1591 Or, do a manual update.
  6. M

    LS Dynamic Subdomains / Request_Routing

    You need to make sure the vhost "mysite.com" configured in your control panel to handle subdomains as well. add "subdomain.site.com" as an domain alias for the vhost. Route subdomain dynamicially to a URL can be done via URL rewrite, same as what you would do with Apache.
  7. M

    Rewrite error in newly instantiated virtual host

    OK, fix to this issue is in the 3.3.4 release. build for Linux 32bit and 64bit packages are available now, just change the version number in download link to get it.
  8. M

    Rewrite error in newly instantiated virtual host

    What exactly is the rewrite rule?
  9. M

    litespeed doesn't use apache error log?

    set LSWS server error log configuration to /usr/local/apache/logs/error_log, PHP errors and other errors will show up in cPanel error log for each user.
  10. M

    How to block evil majestic bot

    Use rewrite rule or request fileter Rewrite Rule RewriteCond %{HTTP_USER_AGENT} ^MJ12bot/v1.0.8 [NC,OR] RewriteRule .* - [F] filter rule SecFilterSelective HEADER_USER_AGENT ^MJ12bot/v1.0.8
  11. M

    I really really need to disable these core dumps

    The problem is more likely reside in ioncube loader. you can submit a bug report to them, and check if there is any new release available.
  12. M

    For the life of me, I can't find the destination url mentioned on the stats page.

    If they consistently doing that, their connection limit will reach, then banned.
  13. M

    LSAPI not working with ODBC

    I think you need to add special environment variables explicitly uner the "Ruby Rails" tab. Most shell environment variables are stripped.
  14. M

    How to make a file-download? Code help needed

    I tried a simple test application, fixed a configuration problem with "Allow Override" in rails context. it will be in 3.3.4 release. However, if you create a static context for the download folder and set "Allow Override" there, it should work fine with 3.3.3 release. 500 status code is caused...
  15. M

    For the life of me, I can't find the destination url mentioned on the stats page.

    Just set "Dynamic request per second" to 2, and set "Static rquest per second" to "100". It only slow the client down, will not ban a client because of requesting more than 2 pages of dynamic content at the same time.
  16. M

    For the life of me, I can't find the destination url mentioned on the stats page.

    Request rate limit only slow it down, will not result in being blocked. Only when number of connections reach the limit, it will be banned. Adding IP/subnet to trusted IP list at server level access control will bypass all per IP throttling. So, current litespeed can do pretty much what you...
  17. M

    compile xcache from source?

    You need make sure the right php.ini has been used. And the xcache build should match PHP version. Please check the trouble shoot section of http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi
  18. M

    For the life of me, I can't find the destination url mentioned on the stats page.

    LiteSpeed mainly deal with DDoS attack automatically based on various throttling limit. No manual check needed under attack. The IPs hitting the limit has been logged in error.log . Next release, we will add an option to block bad IPs with firewalls automatically, so the bots not even able to...
  19. M

    File Permissions Question

    there is a PHP suexec vhost template, you can use it as the start point.
  20. M

    File Permissions Question

    the answer is PHP suEXEC http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:cgi_fcgi_lsapi_php_suexec
Top