[Seaside] Re: Serving private static files

Francois Stephany tulipe.moutarde at gmail.com
Sun Nov 6 20:43:36 UTC 2011

Hi Nick,

> Do you mean that Seaside server loads and serves the file?

Yep. But only for private files. All the public pictures, JS, CSS, 
whatever are served with nginx.

The problem for private files is that I need to know which user wants to 
access the file (and the user is kept in a seaside session)

> You might like to look into X-Sendfile (though you'll need support from
> a front-end server Apache/Nginx/lighttp...)
> I have no direct experience of using X-SendFile, but I believe others on
> the list have used it successfully and there is support in the latest
> versions of WAFileLibrary.
> (http://code.google.com/p/seaside/issues/detail?id=637)

Thanks, I'll have a look !

More information about the seaside mailing list