Search results

  1. I

    Rails 3

    Actually, I've come up with a really elegant solution to this: switch to Nginx/Passenger. Now that the Passenger gem support nginx out of the box, along with Ruby Enterprise Edition, the performance is better, setup is just as easy, and it actually works and gets updated in a timely fashion...
  2. I

    Rails 3

    I'm running a mixed environment--with multiple sites: * One running 2.1.2 * One running 2.3.2 * One running 3.0.3 The standard RailsRunner works fine for both the 2.x version, but not the 3.x version. How can I run these all simultaneously? Is there a place in the config somehere to...
  3. I

    403 Error on _some_ file uploads in 4.1RC2

    Would upgrading to 4.1 RC3 help? Also, I had to patch Rack to work with RC2, will that patch cause a problem now?
  4. I

    403 Error on _some_ file uploads in 4.1RC2

    The error log is empty and I don't see anything in the general server log either. As far as I know there aren't any mod_security rules. Again, this works for every but one single action, which is very strange. Litespeed sends a 403 before the rails app even has a chance to process anything.
  5. I

    403 Error on _some_ file uploads in 4.1RC2

    Hello, On one specific page, I'm getting a 403 Access Denied error when uploading files in a Rails app--the request doesn't even seem to hit the Rails app (i.e. nothing shows up in the log), so it's choking before it hits the app. Everything works fine locally. And everything works fine on...
  6. I

    4.1rc2

    Moov Atom Depending on how your video was encoded, you may also have to check that the moov_atom was moved to the beginning of the file. I think Quicktime puts it at the end by default. I think ffmpeg for mac/linux both come with a utility for doing this.
  7. I

    Hotlink Protection & External Scripts

    Hello, I've enabled "hotlink protection", disabled "allow direct access", and enabled "only self reference". For the most part, this works great. But I'm having issues with Flash files that request other files (i.e. I have a swf that requests an external XML config file, or a Flowplayer...
  8. I

    [Resolved] ffmpeg path

    Nvm Actually, there's a setting in RVideo that allows you to manually point to the binary location, so I got it working.
  9. I

    [Resolved] ffmpeg path

    Hello, I have a Rails app in which I'm using ffmpeg to transcode videos. Everything works fine locally. Also, the transcoding works if run in the console, but not when run from the webapp. The error says that ffmpeg can't be found in the (www-data) users's path. How do I set this? Thanks!
  10. I

    [RESOLVED] Expires Headers for images in stylesheets

    You were right Excellent call! The images in question were being served by Rails dynamically--in this case because of an overzealous rewrite rule. Thanks so much! I don't know that I would have caught that.
  11. I

    [RESOLVED] Expires Headers for images in stylesheets

    Last-Modified Mon, 01 Mar 2010 17:51:42 GMT Content-Type image/png Content-Length 7350 Date Mon, 01 Mar 2010 21:39:01 GMT Server LiteSpeed
  12. I

    [RESOLVED] Expires Headers for images in stylesheets

    Just Stylesheets I currently have: image/*=A604800, text/css=A604800, application/x-javascript=A604800 which should cover pngs. All images embedded in the html have proper expires headers--it's just the ones in the stylesheet that seem to have a problem.
  13. I

    [RESOLVED] Expires Headers for images in stylesheets

    Hello, I have expires headers enabled with the default settings in a Rails app. Everything is working as expected, except for images loaded from stylesheets (i.e. style.css > background: url(/images/something.png);). These don't get expires headers and thus aren't getting cached. Is there a...
  14. I

    Rails Subdomain Caching

    Caching hierarchy So I've gotten this working perfectly--so far. Is there a way to specify a cache hierarchy? I would like the system to check the subdomain folder first, then the root folder if the asset isn't in the subdomain folder. Thanks!
  15. I

    Multiple SSL Certs

    Hello, I've been using a self-signed SSL cert for all of my domains for a while now, but recently purchased a legit cert for one domain. I have created a listener using this cert on port 443 and mapped it to the appropriate domain--and it's working great. Is there a way to use the...
  16. I

    403 Error With symlinked image directory

    This seems to have mysteriously corrected itself. This seems to have mysteriously corrected itself.
  17. I

    Help with access to symlinks

    I'm having the same problem I'm having this problem too. I have the same setup on a different server using LSWS 4.0.3, and I have no issues (once I turned "restrain" off). But I upgraded a different server to 4.0.12 and I only get 403 errors. How did you get this to work? Or are images just...
  18. I

    403 Error With symlinked image directory

    Hello, I just upgraded to Litespeed 4.0.12 and I get a 403 error when trying to view images in a symlinked directory. I'm running a very typical Rails setup using Capistrano--i.e. images are in VH_ROOT/shared/images and are symlinked to VH_ROOT/current/public/images. I have "restrained"...
  19. I

    Rails Subdomain Caching

    Cache Stylesheets and Images Okay--it looks like this is working fine for pages. I'd also like to cache stylesheets, js, and images on a per subdomain basis. Each element is processed by the Rails app right now, but I'd like it to be cached. So: http://my.domain.com/stylesheets/style.css >...
  20. I

    Rails Subdomain Caching

    Apologies Sorry--I don't entirely follow (my fault, not yours)--can you be more explicit here? What settings do I need to adjust in Litespeed to make this work? Can you give me an example of a rewrite rule? I have set Enable Cache to yes. I am using the following rewrite rules...
Top