[Seaside] Making a download page

AA aa at serendip.demon.co.uk
Thu Mar 10 12:55:20 UTC 2011

Hi Avi

The path is accessible, and absolute.  I studied the nginx wiki very carefully, too.  It's an odd problem, because it WAS working properly in the past...

I only noted the MultiByteFileStream because that's the file object when it's saved to the native filesystem; it's different from uploading a file to the image (which is what WAUploadFunctionalTest does).

On Thu, 10 Mar 2011 10:46:33 +0200
Avi Shefi <avishefi at gmail.com> wrote:

> Amir,
> The path to the file should be:
> (a) accessible to the image you're running, and of course allowed by its
> file permissions.
> (b) generally an absolute path, however your nginx configuration might need
> a tweak to set this up. Maybe you're missing something that nginx requires?
> take a look: http://wiki.nginx.org/XSendfile
> Additionally, I don't understand why you're passing a MultiByteFileStream if
> all you need is the path to the file.

More information about the seaside mailing list