You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, requests are being matched based on their REQUEST_URI. This requires some special server environment handling and is actually not the ideal path to be checking during routing behavior.
Most routing libraries actually route based on a request's PATH_INFO, which can be pre-processed by PHP or the FGCI proxy server.
Unfortunately, the PATH_INFO request/environment variable can be a little strange under certain configurations, so it would probably be a good idea to use it as a primary and then fall back to the old REQUEST_URI if need be.
The text was updated successfully, but these errors were encountered:
Currently, requests are being matched based on their
REQUEST_URI
. This requires some special server environment handling and is actually not the ideal path to be checking during routing behavior.Most routing libraries actually route based on a request's
PATH_INFO
, which can be pre-processed by PHP or the FGCI proxy server.Unfortunately, the
PATH_INFO
request/environment variable can be a little strange under certain configurations, so it would probably be a good idea to use it as a primary and then fall back to the oldREQUEST_URI
if need be.The text was updated successfully, but these errors were encountered: