From 655927851159a654a32e232eab2742af02569ce4 Mon Sep 17 00:00:00 2001 From: Juan Antonio Tubio Date: Sat, 4 Nov 2017 00:19:51 +0100 Subject: [PATCH 1/3] Documentation: Add file exception rules samples to IIS web.config --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7817f6a..e6a55ad 100644 --- a/README.md +++ b/README.md @@ -212,6 +212,15 @@ Simply create a new `web.config` file in your projects `public` directory and pa ``` +#### Troubleshoting + +If you do not have a favicon.ico file in your project, you can get `404 Router::notFoundException()` constantly. +To add `favicon.ico` as exception, you can add this line to the `` group: +`````` + +You can also make one exception for files with some extensions: +`````` + ### Configuration Create a new file, name it `routes.php` and place it in your library folder. This will be the file where you define all the routes for your project. From 2221bced4fe17032a6784efa5defcced7dbb52bb Mon Sep 17 00:00:00 2001 From: Juan Antonio Tubio Date: Sat, 4 Nov 2017 00:27:13 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6a55ad..ec7749f 100644 --- a/README.md +++ b/README.md @@ -215,10 +215,10 @@ Simply create a new `web.config` file in your projects `public` directory and pa #### Troubleshoting If you do not have a favicon.ico file in your project, you can get `404 Router::notFoundException()` constantly. -To add `favicon.ico` as exception, you can add this line to the `` group: +To add `favicon.ico` as exception, you can add this line to the `` group: `````` -You can also make one exception for files with some extensions: +You can also make one exception for files with some extensions: `````` ### Configuration From 74177a20828e6d6a7de107419eb3bd54ec3d46da Mon Sep 17 00:00:00 2001 From: Juan Antonio Tubio Date: Sat, 4 Nov 2017 00:59:52 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ec7749f..f416e0d 100644 --- a/README.md +++ b/README.md @@ -221,6 +221,9 @@ To add `favicon.ico` as exception, you can add this line to the `` g You can also make one exception for files with some extensions: `````` +If you are using `$_SERVER['ORIG_PATH_INFO']`, you will get `\index.php\` as part of the returned value. By sample: +```/index.php/test/mypage.php``` + ### Configuration Create a new file, name it `routes.php` and place it in your library folder. This will be the file where you define all the routes for your project.