[Tickets #12661] ansel & nginx & xsendfile patch

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Sep 7 21:12:03 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12661
------------------------------------------------------------------------------
  Ticket             | 12661
  Created By         | sca at andreasschulze.de
  Summary            | ansel & nginx & xsendfile patch
  Queue              | Ansel
  Version            | 3.0.0
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


sca at andreasschulze.de (2013-09-07 21:12) wrote:

Date: Sat, 07 Sep 2013
From: Andreas Schulze

Using ansel with nginx webserver and xsendfile feature is not implemented now.
So I wrote a little patch. It simply add the nginx specific header to  
the relevant places.

Now I could extend nginx.conf:

location /x-sendfile/ {
   internal;
   alias /;
}

That work for me. If others like the patch it should be extended to  
distinguish
lighttpd and nginx. I expect nginx or lighttp don't remove the header  
indended for the other server.
That will disclose file system location information. That may be unwanted.

Andreas

Date: Sat, 07 Sep 2013
From: Michael J Rubinsky

Please file an enhancement request on http://bugs.horde.org so this
doesn't get lost before I remember to look at it.



sca at andreasschulze.de (2013-09-07 21:12) uploaded: nginx-xsendfile.patch

http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=nginx-xsendfile.patch&ticket=12661&fn=%2Fnginx-xsendfile.patch





More information about the bugs mailing list