[Seaside] Zinc as static file server
pdebruic at gmail.com
Fri Apr 20 23:56:03 UTC 2012
I don't have a blog and I'm not doing anything sophisticated with it.
It just seems an easier way to serve static files than messing with
Apache or Nginx for development purposes. But I will try find the time
to write something up.
Thanks for your upgrades. I modified the interface so now you can do:
ZnZincStaticServerAdaptor startOn: 8080 andServeFilesFrom: '/var/www/'
I uploaded the revised Zinc-Seaside package.
On 04/20/2012 02:09 AM, Sven Van Caekenberghe wrote:
> Hi Paul,
> On 20 Apr 2012, at 02:13, Paul DeBruicker wrote:
>> Yes. There is a way.
>> I uploaded some changes to http://www.squeaksource.com/ZincHTTPComponents
>> that allow Zinc to serve both Seaside requests and static files from the
>> same server adaptor.
>> Let me know if they're inappropriate for the ZincHTTPComponents archive
> Thanks for this contribution, I think it is really useful.
> I did some merging and some small changes (like making wwwRootDirectory a variable).
> So it would be best to update.
> Do you have a blog or could you pubish a short writeup of how to use this as you envisioned it ?
> Thanks again.
> Sven Van Caekenberghe
> Smalltalk is the Red Pill
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside