Skip to content

Commit 05606ef

Browse files
committed
Update Readme for Umbraco v7.5 new Media folder Web.config
1 parent 6ee42ad commit 05606ef

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,21 @@ The following configuration is required in your `web.config` to enable static fi
114114
</location>
115115
</configuration>
116116
```
117+
118+
For **Umbraco v7.5+ you must add the the StaticFileHandler** to the new Web.config inside the `Media` folder instead of the root one or the VPP will not work!
119+
120+
```xml
121+
<?xml version="1.0" encoding="UTF-8"?>
122+
<configuration>
123+
<system.webServer>
124+
<handlers>
125+
<clear />
126+
<add name="StaticFileHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.StaticFileHandler" />
127+
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />
128+
</handlers>
129+
</system.webServer>
130+
</configuration>
131+
```
117132

118133
## Combining with ImageProcessor
119134

0 commit comments

Comments
 (0)