Redirect all requests to index #73
Unanswered
jonacio
asked this question in
Help / Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using PHP with MVC pattern and i need redirect all requests to the "index.php" file. I usually use htaccess in apache, but Five Server does not recognize this file.
How can i redirect all requests to index file?
I'm using the extension for VSCode.
I tried using the "file" option pointing to the "index.php" file, but the server doesn't receive the original request route.
I also tried the "mount" option, setting it to something like
mount: { "/*", "/" }
, but it didn't work (perhaps it goes into an infinite loop).Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions