Laravel in IIS (url rewrite example)

Notes:

  1. Destination in IIS should point to public folder
  2. Avoid creating folders in public with the same name as prefix in routes.
    e.g. public/admin and URI “/admin” will cause error.