[horde] ansel & nginx & xsendfile patch

Michael J Rubinsky mrubinsk at horde.org
Sat Sep 7 13:32:36 UTC 2013


Quoting Andreas Schulze <sca at andreasschulze.de>:

> Hello,
>
> 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

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

Thanks.


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20130907/ffcc7593/attachment.bin>


More information about the horde mailing list