module's development and X-Accel-Redirect

Chavelle Vincent lists at ruby-forum.com
Sun Mar 30 20:40:51 MSD 2008


Hi all

My problem refers to the development of a new module for nginx and I
need to use X-Accel-Redirect header to implement controlled downloads...

I have followed
http://blog.kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/
and I have replaced php code : header("X-Accel-Redirect: /files/" .
$path)
by a new module for nginx
(http://www.pasteyourcode.com/pastebin.php?show=686)

Nothing happens and i don't know why ! I need advices :)

Thanks in advance
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list