[Seaside] Re: Zinc as static file server

Paul DeBruicker pdebruic at gmail.com
Fri Sep 6 18:09:18 UTC 2013

On 09/06/2013 10:58 AM, Dave wrote:

> Hi Paul,
> I can't make it work :-)
> I launched ZnZincStaticServerAdaptor startOn: 8080 andServeFilesFrom:
> '/testDir/'
> and I'm wondering if /testDir is relative, absolute (other?)
> I created testDir under the location of my image then I created in / but
> both times when I point the browser on http://localhost:8080/testDir/ I
> receive a "Not Found"
> Dave

Its just a path so could be absolute or relative.  Using '/testDir'
makes it look at the root of your filesystem for a directory named
'testDir'.  If you used 'testDir' rather than '/testDir' then it'd look
in the image directory.

Who owns '/testDir' and can your Pharo process read from there?

More information about the seaside mailing list