用于URL路由的Virtuoso或PHP Web框架

I'm running Virtuoso Open Source 7. The goal is a simple URL structure ex www.example.com/diabetes. The virtual directory is setup to load index.vsp, which parses VSP & HTML, but not PHP (neither inside or outside the <?vsp ?> tags). Having Slim web framework experience, I'm used to creating routes ex

@/
call method index

@/{page}
call method page(page)

Because VSP isn't parsing PHP & vice versa, it seems I must choose PHP/Slim to make URL routing work. Is this so, or can I somehow code VSP file/stay in Virtuoso?

Regards

Virtuoso (from my employer) can be set up to handle both its native VSP and add-on PHP in-process, with either/both URL Rewriting or Virtual Directories.