[Paste] Re: X-Sendfile WSGI application

Top Page
Author: Gustavo Narea
Date:  
To: Paste Users
Subject: [Paste] Re: X-Sendfile WSGI application
On May 29, 12:07 am, Mike Orr <sluggos...@gmail.com> wrote:
> I thought the goal was to send an arbitrary file no matter whether it
> was in the URL space or not. So the X-Sendfile argument would be the
> filesystem path, not a URL. Otherwise it can't do what FileApp does.


That's what the original X-Sendfile does (i.e., Lighttd out-of-the-box
and the xsendfile module in Apache).

But there are other alternatives, like X-Accel-Redirect in Nginx and
200/Location in CGI, which receive a URL path instead of a filesystem
path.

 - Gustavo.

-- 
You received this message because you are subscribed to the Google Groups "Paste Users" group.
To post to this group, send email to paste-users@???.
To unsubscribe from this group, send email to paste-users+unsubscribe@???.
For more options, visit this group at http://groups.google.com/group/paste-users?hl=en.