<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Replace vfs-direct with X-Sendfile support</title> 
  <pubDate>Fri, 10 Apr 2026 18:27:18 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6411</link> 
  <atom:link rel="self" type="application/rss+xml" title="Replace vfs-direct with X-Sendfile support" href="https://bugs.horde.org/ticket/6411/rss" /> 
  <description>Replace vfs-direct with X-Sendfile support</description> 
 
   
   
  <item> 
   <title>From Jan:

How about deprecating vfs-direct in Ansel for X-S</title> 
   <description>From Jan:

How about deprecating vfs-direct in Ansel for X-Sendfile support?

http://tn123.ath.cx/mod_xsendfile/

Works with both Apache and Lighttpd, fixes the permissions problem, 

and the admins don&#039;t have to do much more configuration than with the 

vfs-direct feature.

</description> 
   <pubDate>Sun, 09 Mar 2008 05:37:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t43606</link> 
  </item> 
   
  <item> 
   <title>...although just a note that mod_xsendfile for Apache is 2.x</title> 
   <description>...although just a note that mod_xsendfile for Apache is 2.x only.</description> 
   <pubDate>Sun, 09 Mar 2008 05:39:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t43607</link> 
  </item> 
   
  <item> 
   <title>It&#039;s also more flexible than vfs-direct, since we can use it</title> 
   <description>It&#039;s also more flexible than vfs-direct, since we can use it anytime it&#039;s more efficient to get a local file out of the VFS - with the FTP backend, for example.



I have some ideas on API changes to VFS for this and then BC-compatible ways to use them in Ansel, Gollem, maybe IMP too.</description> 
   <pubDate>Sun, 09 Mar 2008 05:41:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t43608</link> 
  </item> 
   
  <item> 
   <title>Would it still be worth keeping vfs-direct as an option thou</title> 
   <description>Would it still be worth keeping vfs-direct as an option though for those sites that are OK with allowing it?  For Ansel, at least, it would save having to load an Ansel_Image object from the database just to get the VFS path to send with X-Sendfile header...</description> 
   <pubDate>Sun, 09 Mar 2008 22:06:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t43626</link> 
  </item> 
   
  <item> 
   <title>Which is good because it allows us to check permissions. If </title> 
   <description>Which is good because it allows us to check permissions. If we could shortcircuit permission checking even better, but at the moment permissions aren&#039;t checked at all. I don&#039;t know if we deem security by obscurity through hard to guess path/file names sufficient.</description> 
   <pubDate>Mon, 10 Mar 2008 08:43:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t43644</link> 
  </item> 
   
  <item> 
   <title>Yep, exactly.  What I&#039;m suggesting is to keep it as an *opti</title> 
   <description>Yep, exactly.  What I&#039;m suggesting is to keep it as an *option*, in addition to the X-Sendfile, for those sites that are OK with the photos being accessible without permissions checking.  



If not, I don&#039;t feel strongly about it. It was just a thought.</description> 
   <pubDate>Mon, 10 Mar 2008 14:34:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t43651</link> 
  </item> 
   
  <item> 
   <title>Chuck, assigning to you since you said you had VFS api chang</title> 
   <description>Chuck, assigning to you since you said you had VFS api changes to support this...

you can kick it back to me if I am mistaken :)</description> 
   <pubDate>Sat, 15 Mar 2008 20:42:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t43857</link> 
  </item> 
   
  <item> 
   <title>Done. You can use the new VFS::readFile() method to get a lo</title> 
   <description>Done. You can use the new VFS::readFile() method to get a local file for use with x-sendfile. With the file backend it&#039;ll just return the local filename - a much cleaner solution for vfs-direct that should be just about as fast.</description> 
   <pubDate>Sun, 18 May 2008 03:37:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t45339</link> 
  </item> 
   
  <item> 
   <title>Done </title> 
   <description>Done </description> 
   <pubDate>Wed, 21 May 2008 20:53:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6411#t45450</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
