Saturday, December 22, 2018

Re: X-Accel-Redirect equivalent for httpd

On 2018-12-21, Chris Narkiewicz <hello@ezaquarii.com> wrote:
> Is there an equivalent or alternative for NginX X-Accel-Redirect?
>
> https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/
>
> I'm porting a django app that checks for user's permissions before
> allowing them to download a document and this function uses
> X-Accel-Redirect to achieve this.
>
> I'd like to move the app to OpenBSD httpd. Any idea how to
> crach this problem?

The alternative would be having the app send the file itself, there's no
other way to do this with httpd.

No comments:

Post a Comment