Bug #8416

Digital object serving controller is Nginx-only compatible

Added by Jesús García Crespo about 7 years ago. Updated almost 7 years ago.

Status:VerifiedStart date:05/08/2015
Priority:HighDue date:
Assignee:Dan Gillean% Done:

0%

Category:Digital Content ManagementEstimated time:4.00 hours
Target version:Release 2.2.0
Google Code Legacy ID: Tested version:2.2
Sponsored:No Requires documentation:

Description

It's using X-Accel-Redirect.
Apache's solution uses the header X-Sendfile, but we have no code in place for Apache servers.

See the code: apps/qubit/modules/digitalobject/actions/viewAction.class.php.

The challenge is to identify the web server. We could use $_SERVER["SERVER_SOFTWARE"], but it may not work as expected in all the scenarios. We could support edge cases with an extra admin setting.

History

#2 Updated by Jesús García Crespo about 7 years ago

  • Assignee changed from Jesús García Crespo to Dan Gillean

#3 Updated by Dan Gillean about 7 years ago

  • Status changed from QA/Review to Verified

#4 Updated by Dan Gillean almost 7 years ago

  • Requires documentation deleted (Yes)

Also available in: Atom PDF