Search results

  1. B

    How to make a file-download? Code help needed

    Thanks mistwang. Got it working finally with the 3.3.3 release (had 3.1.2 before). For future readers, this solution works for me: 1. I put a .htaccess in my downloads-folder, containing: 2. Activated full HT Access in the General Settings in LiteSpeed Web Admin > Configuration > Server >...
  2. B

    Internal Redirect w/ Rails

    Did you solve your problem? I have a similar problem here
  3. B

    How to make a file-download? Code help needed

    Ok, tried lynx now. Still it behaves weird. My .htaccess-file looks like this now When I try accessing with Lynx directly after a liteserver-reboot I get this: 22 seconds later, without doing anything different and without changing anything, I get this : This feels like a bug in Litespeed.
  4. B

    How to make a file-download? Code help needed

    Ok, it's me again. My .htaccess only have this now: This does not work. If I use this one (just for testing) the jpg gets rendered as text/html BUT only every other reload. Must often it's rendered like a normal jpg. Is this a litespeed-bug? Have tried many browsers, so it's not...
  5. B

    How to make a file-download? Code help needed

    ... on a sidenote, how can i make this work for ALL filetypes, without having to type them all in? wildcard or nothing at all won't work.
  6. B

    How to make a file-download? Code help needed

    Thanks for the quick respons. Have now created a .htaccess file in the downloads-folder and checked Fileinfo in the HT Access-part of the LiteSpeed config. My .htaccess file looks like this: Tried accessing http://192.168.1.203:8088/search/download_path/1663912/mmm.jpg but still with no...
  7. B

    How to make a file-download? Code help needed

    added this now Still just showing the image and getting this in the log: Getting ActionController::MissingTemplate (Missing template /home/user/railsapp/web/app/views/search/download_path.rhtml):
  8. B

    How to make a file-download? Code help needed

    Hi! Have searched this forum for an answer but haven't found anything helpful. What should I write to make a jpg for example download when pushing a link? Right now my code is this: This is the code I have found on threads here in the forum, but it doesn't work for me. I have enabled...
Top