custom path so PathPrefix can be used when necessary
using patterns "*" and "$" to catch specific cases