Re: [Pharo-users] Willow-Seaside serving static files
Uh, I had to unregister and then register my Willow application again - now the file is accessible. Best wishes, Tomaz
Re: [Pharo-users] Willow-Seaside serving static files
Thanks, Esteban. I checked the url of the image (http://localhost:8080/files/EMStaticFiles/window.png) and it is proper, however it is not accessible (I get /files/EMStaticFiles/window.png not found), so I believe that besides forbidden listings the access to files is also forbidden. I'm looking into WAFileHandler class however cannot find a way to enable serving of static files. Best wishes, Tomaz -- Original Message -- From: "Esteban Maringolo" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 14.6.2020 15:33:23 Subject: Re: [Pharo-users] Willow-Seaside serving static files The handler at /files (WAFileManager?), is set to explicitly forbid listing of files.
Re: [Pharo-users] Willow-Seaside serving static files
The handler at /files (WAFileManager?), is set to explicitly forbid listing of files. El dom., 14 de junio de 2020 07:33, Tomaž Turk escribió: > Hi, I added an image to a subclass of WAFileLibrary to serve it as a > static file from within Pharo. Everything seems fine, except that the > /files URL is not accessible: > > Error: you are forbidden to access "/files". > > and source view displays > > /files/EMStaticFiles/window.png not found > > if I click on image's URL. > > I loaded Seaside as a Willow's dependency. > > Best wishes, > Tomaz > > > > >