We would want to set permissions per Context. Essentially, ’newyork’, etc. will be completely different websites, so I am pretty sure contexts will be the best method.
Unless you’re trying to do something with settings or permissions, I think you’d save yourself a headache by just using just one context with your "newyork" & "losangeles", etc. resources as folders.
If you’re sure you want to mess with separate contexts though, you can rtfm.
It’s a plugin (not snippet), and yes, you have to tailor the plugin to do what you want. OnHandleRequest is the event.
@OpenGeek .. with that method, I assume you must manually enter the various available contexts within the snippet? Also, which event trigger do you put that on?