need to cinfigure routing patterns rather than accessing real path