File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
BlogEngine/BlogEngine.NET Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 156
156
</httpHandlers >
157
157
</system .web>
158
158
<system .webServer>
159
- <validation validateIntegratedModeConfiguration =" false" />
159
+ <validation validateIntegratedModeConfiguration =" false" />
160
+ <!--
161
+ Uncomment below to configure custom 404 error; if blog in subfolder,
162
+ like "/blog", make sure path includes subfolder
163
+ -->
164
+ <!-- <httpErrors existingResponse="Replace" errorMode="Custom">
165
+ <remove statusCode="404" subStatusCode="-1" />
166
+ <error statusCode="404" prefixLanguageFilePath="" path="/error404.aspx" responseMode="ExecuteURL" />
167
+ </httpErrors>-->
168
+
160
169
<!-- Enable the staticContent section below to add Expires headers to images for better performance.
161
170
Some hosting providers does not allow the staticContent section to be set. -->
162
171
<!--
You can’t perform that action at this time.
0 commit comments