Re: X-Accel-Redirect equivalent for httpd

2018-12-22 Thread Stuart Henderson
On 2018-12-21, Chris Narkiewicz  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.




X-Accel-Redirect equivalent for httpd

2018-12-20 Thread Chris Narkiewicz

Hi,

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?

Best regards,
Chris