Search results

  1. S

    Content encoding errors with Firefox

    A few of our clients have been reporting that sometimes their sites throw errors in their browser saying: Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Interestingly it only seems to be happening...
  2. S

    Not redirecting with 404 status and rails 2.3.2

    We've just noticed another problem with LS 4.x Ent and our Rails 2.3.x sites not redirecting when the status is set to 404. We have a Rails action that catches any invalid url requests and then redirects with a 404 status to a custom 404 sitemap page in the application. Since moving to Rails...
  3. S

    How to restrict file download access to specific users

    This is an interesting post about restricting file downloads only to authenticated users in the app, but offloading the actual download to the server. http://ramblingsonrails.com/how-to-protect-downloads-but-still-have-nginx-serve-the-files The above is for nginx but is there an equivalent...
  4. S

    Inconsistent log rolling between vhosts

    We've just noticed that some of our vhosts have stopped rotating the access logs, whereas others are rotating them fine. All of the vhosts are setup exactly the same with the default log options: * Keep for 30 days * Rolling size: 500M The server-wide access log settings are: * Keep for...
  5. S

    High memory usage in LS compared to Passenger/Mongrel etc

    Any thoughts on the benchmarks posted over here? http://www.rubyenterpriseedition.com/comparisons.html Litespeed seems to be using significantly more memory than all the other configurations.
  6. S

    Finding out license expiry date?

    We have enterprise licenses for a few of our servers. Is there an easy way to find out when the license is due to expire for free upgrades? It sometimes tells you when you restart via the terminal but not always.
  7. S

    Capistrano 2.3 causes LS to core dump on cap restart

    Since upgrading to the latest capistrano we're finding everytime we call: sudo "/usr/local/lsws/bin/lswsctrl restart" in out cap restart task that we get the email saying: web server with pid=5712 received unexpected signal=6, a core file is created. A new instance of web server will be...
  8. S

    How to block/redirect specific user agents

    Some of our sites have been crawled by the Indylib bot which has been spamming rubbish into URL parameters and generally being a bad bot. What is the best way to block requests from specific user agents? The user agent header for the indy lib bot is: Mozilla/3.0 (compatible; Indy Library)
  9. S

    Content gzipping not working after upgrade to 3.3-ent

    I've just upgraded from 3.2.4-ent to 3.3-ent and now I've noticed (via the ySlow firebug plugin) that the gzipping of css and js files is no longer working. The actual HTML file is being gzipped. My configuration hasn't changed since the upgrade. The compressible types are set to: text/*...
  10. S

    Default alphabetic sorting of vhost lists

    It's a small thing but it would be nice if the vhosts listing and vhost mapped listener listings were sorted alphabetically by default. At the moment the vhost listing seems to be sorted arbitrarily. We have a large number of vhosts on one server and its a pain having to click the column...
  11. S

    Setting a 'server maintenance' page for all virtual hosts

    I'm needing to do some major upgrades to our server which will mean the Rails based sites will be down for an hour or two (need to upgrade Ruby and all the required gems). I'm wondering if there is a simple way I can put up a server maintenance page up for all the virtual hosts without having to...
  12. S

    Random 503 errors with LS admin

    Since upgrading to LS 3.x we've been getting intermittent 503 errors when trying to access the LS admin area. We're currently running LS 3.1.1-ent on one server but also get it with the latest standard version on another machine. In general we've also found the admin takes much longer to...
  13. S

    Redirecting URLs with specific parameters to friendly URL pages

    I'm trying to redirect some legacy URLs for a site we have redesigned that have the format: /services/services.asp?p=13 going to /services/accomodation I've been trying rewrite rules like: RewriteRule ^/services/services.asp?p=13 /services/accommodation [R=301,L] RewriteRule...
  14. S

    Restrictions on uploading files via POST in LS

    We have a client who is trying to upload a large file through our Rails CMS and they are finding the connection is lost before the upload has completed. I'm wondering what happens when an upload takes longer than the connection timeout setting on the server (currently set at 300 secs). Will it...
  15. S

    Best way to redirect legacy URLs with Rewrite Map?

    I am updating a site where the new version will have slightly different URLs for the main sections. I want to use Rewrite Map to create a text file with a list of rules that will point some of the key old addresses to the new URLs. I've created a url map file which contains source/target URLs...
  16. S

    Problem setting up Trac with LSWS 3b

    I'm in the process of setting up trac on our development server using LSWS 3b standard. I've followed the wiki instructions, however when I get to point 5 where I create the FCGI context the dropdown to select the fcgi external app is empty instead of showing the 'MyTracFCGI' I created at step...
  17. S

    Security vulnerability in Ruby's CGI could cause DoS on LS servers

    Just a heads up to this: http://blog.evanweaver.com/articles/2006/10/25/mongrel-denial-of-service-vulnerability Apparently LS is susceptible too.
  18. S

    WARN: Request has not been logged into access log...

    I've been noticing quite a few occurances of the warning: WARN: Request has not been logged into access log, response body sent: 0! There doesn't seem to be any particular pattern to these errors so I'm not sure what is causing it. All our sites are Rails based. Any further explaination as to...
  19. S

    Prevent access to subversion .svn directories

    We use subversion to deploy our websites and I was wondering how I could configure litespeed so that all requests to .svn directories and files within them are blocked? Thanks.
  20. S

    Graceful restarting specific Rails app

    We are running over 20 Rails powered websites on our server. Currently when we update one of the sites we need to do a graceful restart to reload the updated app with the changes. I was wondering if it would be possible in a future version of LS to selectively restart specific apps rather than...
Top