diff options
author | Mateja <mail@matejamaric.com> | 2020-10-07 18:41:35 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-07 18:41:35 +0200 |
commit | b981dc8715b36c83107de4c2868e3410a6faf457 (patch) | |
tree | 899a97261d0b901740cfbd949fc0839bb7a1e607 /public/web.config | |
download | yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.tar.gz yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.zip |
First commit
Diffstat (limited to 'public/web.config')
-rw-r--r-- | public/web.config | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/public/web.config b/public/web.config new file mode 100644 index 0000000..d3711d7 --- /dev/null +++ b/public/web.config @@ -0,0 +1,28 @@ +<!-- + Rewrites requires Microsoft URL Rewrite Module for IIS + Download: https://www.microsoft.com/en-us/download/details.aspx?id=47337 + Debug Help: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules +--> +<configuration> + <system.webServer> + <rewrite> + <rules> + <rule name="Imported Rule 1" stopProcessing="true"> + <match url="^(.*)/$" ignoreCase="false" /> + <conditions> + <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> + </conditions> + <action type="Redirect" redirectType="Permanent" url="/{R:1}" /> + </rule> + <rule name="Imported Rule 2" stopProcessing="true"> + <match url="^" ignoreCase="false" /> + <conditions> + <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> + <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> + </conditions> + <action type="Rewrite" url="index.php" /> + </rule> + </rules> + </rewrite> + </system.webServer> +</configuration> |