mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
6559278511
commit
2221bced4f
@@ -215,10 +215,10 @@ Simply create a new `web.config` file in your projects `public` directory and pa
|
|||||||
#### Troubleshoting
|
#### Troubleshoting
|
||||||
|
|
||||||
If you do not have a favicon.ico file in your project, you can get `404 Router::notFoundException()` constantly.
|
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 `<conditions>` group:
|
To add `favicon.ico` as exception, you can add this line to the `<conditions>` group:
|
||||||
```<add input="{REQUEST_FILENAME}" negate="true" pattern="favicon.ico" ignoreCase="true" />```
|
```<add input="{REQUEST_FILENAME}" negate="true" pattern="favicon.ico" ignoreCase="true" />```
|
||||||
|
|
||||||
You can also make one exception for files with some extensions:
|
You can also make one exception for files with some extensions:
|
||||||
```<add input="{REQUEST_FILENAME}" pattern="\.ico|\.png|\.css|\.jpg" negate="true" ignoreCase="true" />```
|
```<add input="{REQUEST_FILENAME}" pattern="\.ico|\.png|\.css|\.jpg" negate="true" ignoreCase="true" />```
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user