Search results

  1. 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...
  2. 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...
  3. 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!
  4. 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...
  5. 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...
  6. 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"...
  7. I

    Rails Subdomain Caching

    Hello, I'm running a Rails app that uses subdomains for accounts--so each subdomain needs its own cache. I have Rails setup to cache like so: http://subdomain.myapp.com/ -> /public/cache/subdomain/ How do I setup Litespeed to serve these cached pages? In nginx, this would look...
  8. I

    Problem with sort_by{rand}

    I'm running a RoR survey application that randomized question/answer order on a page using something like: answers.sort_by{rand} This happens on several pages, each generating its own random number (in the view). This sets the order on page render. It works fine on my local machine in both...
  9. I

    Multiple domains, one vhost

    Hello, Is it possible to map several distinct domains to one vhost? (i.e. mysite.com and mysite.org) I have no problems with adding subdomain aliases, but this doesn't seem to work for distinct hosts. I am running 3.3.15. Thanks!
  10. I

    vhosts api or command line

    Hello, I am running a rails app with multiple deployments and am using capistrano to manage them. I would like to be able to create a vhost entry on the fly using capistrano and was wondering if there's any way to do this aside from trying to write to the monolithic httpd_conf.xml file. Is...
Top