This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: x_sendfile broken but log says OK
Message |

Joined: 04 August 2011
Posts: 1
Posted: 04 August 2011 at 7:02am

  • Ape enabled at "top" (all-sites) level.
    • Also tried enabled at just single IIS site level
  • Free licence enabled on IIS test site.
  • test.txt file referenced contains one line ("THE FILE ARRIVED!")
  • All files (httpd.conf, .htaccess, test.txt, xsendfile.cfm) are read/write to IIS_IUSRS
  • Same problem on Win 2008 R2/IIS7.5 & Vista/IIS7.0
    • Both environments have IIS ".NET Extensibility" feature enabled
httpd.conf as default but with these changes:
Loglevel debug
ErrorLog error.log
Header append Server "enhanced by Helicon Ape/3.0"

.htaccess in IIS site root:
xsendfile on
xsendfileallowabove on

requested application page:
<cfheader name="Content-Type" value="text/plain" />
<cfheader name="X-SENDFILE" value="C:\temp\tek4\trunk\mc\wwwroot\test\test.txt" />
app content test

error.log after calling page:
[04/08/2011 12:51:44] [0.64] (8) [/test/xsendfile.cfm] X-Sendfile: C:\temp\tek4\trunk\mc\wwwroot\test\test.txt
[04/08/2011 12:51:44] [0.64] (8) [/test/xsendfile.cfm] X-Sendfile: C:\temp\tek4\trunk\mc\wwwroot\test\test.txt - OK

HTTP Protocol sample:
GET /test/xsendfile.cfm HTTP/1.0
Host: mc.local

HTTP/1.1 200 OK
Content-Type: text/plain
Server: Microsoft-IIS/7.0
X-SENDFILE: C:\temp\tek4\trunk\mc\wwwroot\test\test.txt
Date: Thu, 04 Aug 2011 11:51:27 GMT
Connection: close

app content test

  • App file gets sent, not the x-sendfile content.
  • Even the server header isn't extended with "enhanced by Helicon Ape/3.0"
I'd really love to get this feature working so we can purchase some licences for our environment. Anyone got any ideas how we can resolve the problem or other things to test?
Back to Top
Admin Group

Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 04 August 2011 at 7:27am

Unfortunately mod_xsendfile doesn’t work with ColdFusion.

Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version