--- Begin Message ---Hi Norbert, Thank you very much for the suggestion!! DavideNorbertHartl wrote > There is ZnPrefixMappingDelegate you can use. > > server > delegate: (ZnPrefixMappingDelegate > map: 'static' to: staticFileDelegate; > map: 'app' to: myApp). > > There is also ZnStaticFileDecoratorDelegate if you want to mimick another > typical setup where all urls that resolve to a file get served from disk > and any other will be forwarded to you app. > > server > delegate: (ZnStaticFileDecoratorDelegate > decorate: myApp > servingFilesFrom: 'static/'). > > Hope this helps! > > Norbert > > >> Am 28.03.2020 um 01:34 schrieb Davide Varvello via Pharo-users < > pharo-users@.pharo > >: >> >> >> Von: Davide Varvello < > varvello@ > > >> Betreff: Zinc server with static and non-static files >> Datum: 28. März 2020 um 01:34:13 MEZ >> An: > pharo-users@.pharo >> >> >> Hi Guys, >> Is it possible a Zinc server returns static files within a specific url >> path >> (like the ZnStaticFileServerDelegate) and also returns other logics as >> shown >> with map:#otherPath to: MyWebapp new ? >> TIA >> Davide >> >> >> >> -- >> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html >> >> >> -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
--- End Message ---
Re: [Pharo-users] Zinc server with static and non-static files
Davide Varvello via Pharo-users Sat, 28 Mar 2020 04:30:09 -0700
- [Pharo-users] Zinc server with static and ... Davide Varvello via Pharo-users
- Re: [Pharo-users] Zinc server with st... Norbert Hartl
- Re: [Pharo-users] Zinc server wit... Davide Varvello via Pharo-users
- Re: [Pharo-users] Zinc server wit... Sven Van Caekenberghe
- Re: [Pharo-users] Zinc server... Davide Varvello via Pharo-users