Have you looked into an X-sendfile-mod for your web server?
That will allow you to validate the request in CF, but pass the request
back to the webserver to serve the file. The file does not have to be in a
web accessible directory.
-Dan
On Wednesday, August 1, 2012, Jeff Chastain wrote:
>
> I
You could maybe try reading the pdf as a binary with cffile into a
variable and outputting it that way with
Could be cfcontent is opening the file and not closing all the way or something.
On Wed, Aug 1, 2012 at 6:45 PM, Jeff Chastain
wrote:
>
> I am doing some performance test on a site runni
Jeff,
I've read there are issues with file/directory operations in CF when files
are really large or the directory contains TONS of files. You might try a
java alternative. I'm mobile right now, but I think it's something like
this:
createObject("java", "java.io.File").init( filePath & fileNam
Load balancers are going to probably act a bit different from one to
another as well.
For instance, we use a CoyotePoint with SSL off-loading. Http
requests wind up not even having a X-Forwarded-For value, so the code
below only works for us for SSL requests.
For http request, the cgi.remote_ad
I am doing some performance test on a site running on ColdFusion 8 using
FusionReactor. There is one script that consistently ends up on the top of the
long running requests list. The script is very simple - it grabs a PDF file
that already exists on the files system and streams it to the use
You can reference that as cgi.http_x_forwarded_for -- and it will come back
blank if not there, and with a list of IPs otherwise.
So I supposed you could do something in your onrequest that if it exists
replaces cgi.remote_addr -- but that's not going to help you if it returns
multiple IPs. (We u
Hey, all. Thanks in advance for the info on this. I realize it's not a
straight-up CF question, but my search for answers has come up empty thus far.
Hoping someone here will have the last piece of the puzzle.
We're running our CF servers (using JRun and Apache) behind a load balancer,
and as
NCDevCon is the largest developer conference in North Carolina. NCDevCon
2012 will be held on September 29 30 in Raleigh at Centennial Campus.
Registration is $200. There are 44 different sessions run in 4 track
categories. Attendees have their choice of 4 different sessions for each
of the
8 matches
Mail list logo