[Seaside] Re: Zinc as static file server

Dave lasmiste at gmail.com
Fri Sep 6 18:55:36 UTC 2013


Sorry I haven't seen this message.
Thanks
Dave


Paul DeBruicker wrote
> 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"
>> 
>> TIA
>> 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?
> 
> _______________________________________________
> seaside mailing list

> seaside at .squeakfoundation

> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





--
View this message in context: http://forum.world.st/Zinc-as-static-file-server-tp4571413p4706981.html
Sent from the Seaside General mailing list archive at Nabble.com.


More information about the seaside mailing list