[Seaside] Re: Zinc as static file server

Dave lasmiste at gmail.com
Fri Sep 6 20:29:49 UTC 2013


Got it!
I was wrong, I pointed the browser to
http://localhost:8080/testDir/image.jpg/ instead of
http://localhost:8080/image.jpg/
Eventually I dig into the code and I discovered debugging
ZnStaticFileServerDelegate>>actualFilenameFor:

Sorry to have bugged you.
Dave


Dave wrote
> 
> Paul DeBruicker wrote
>> Oh and I don't think it will give a directory listing.  Not sure but you
>> might stick a file in that testDir and see if you can access it.
> No way.
> 
> * I created testDir under the image file.
> * The script is ZnZincStaticServerAdaptor startOn: 8080 andServeFilesFrom:
> 'testDir'.
> * I put a file image.jpg under testDir
> * I point the browser at http://localhost:8080/image.jpg
> 
> Response: "Not Found /testDir/image.jpg"
> 
> Davide





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


More information about the seaside mailing list