Search results

  1. J

    Naming file downloads (Content-Disposition??)

    I appreciate the response. I'm afraid I don't have the time (or know how for that matter) to build a test app for you to replicate the error. I can however tell you that the code I am using works fine when testing on mongrel on my development box. It really seems like Litespeed is ignoring...
  2. J

    Checking headers

    Is there a way to check what headers come into the web-server on a request? I have my log level set to debug but don't see this information. I am using rails, am having some trouble and want to make sure that my intended header settings are definitely getting to the web server. (i.e. not...
  3. J

    Naming file downloads (Content-Disposition??)

    Thanks for your reply... I have done this to no avail... The Content-Disposition header simply seems to not work. In addition, how can the 500 error showing up in firebug be explained.
  4. J

    Naming file downloads (Content-Disposition??)

    I see that a few people have viewed this post... Please let me know if I need to be more clear about my original post. I need to resolve this issue. I am trying to download a file using the X-LiteSpeed-Location header, so that litespeed will serve a static file on my machine. It effectively...
  5. J

    Naming file downloads (Content-Disposition??)

    Greetings... I am attempting to name a file that is to be downloaded from my webserver but the downloaded file name always ends up being the name of the page "downloads" that called the action. I have researched how this is done on most webservers and found that the Content-Disposition header...
  6. J

    Internal Redirect w/ Rails

    Great, thanks so much for the help... Is there some type of 'vague' content-type.... I will be serving both .zip files and .exe files to my customers.
  7. J

    Internal Redirect w/ Rails

    In addition to the "X-LiteSpeed-Location" header do I need to send any additional headers as I had stated before the files aren't downloading.. they seem to just be appearing in the window. Here is the rest of what was logged on that request: 2007-12-03 13:13:41.064 [DEBUG]...
  8. J

    Internal Redirect w/ Rails

    Thanks for the reply: Please help me verify that I am doing the right thing. The document root of my rails app is of course the public folder. In the public folder I have a folder called products and inside that folder is a file called test.mp3. With that information in mind here is the...
  9. J

    Internal Redirect w/ Rails

    I am trying to serve some files in the most secure fashion using Litespeed's INternal Redirect that I read about here: http://litespeedtech.com/support/wiki/doku.php?id=litespeed:wiki:feature:internal_redirect When from my controller I send: headers['Location'] = "/path/to/file" It...
Top