Skip to content

Commit ff9b237

Browse files
authored
update
1 parent 001bf8d commit ff9b237

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Web.Config

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
33
<system.webServer>
4+
<directoryBrowse enabled="true" />
5+
<httpErrors errorMode="Custom">
6+
<remove statusCode="404" subStatusCode="-1" />
7+
<error statusCode="404" path="error.html" responseMode="File" />
8+
</httpErrors>
49
<rewrite>
510
<rules>
611
<rule name="Redirect-to-dbrjs-hw" enabled="true" stopProcessing="true">
@@ -10,4 +15,4 @@
1015
</rules>
1116
</rewrite>
1217
</system.webServer>
13-
</configuration>
18+
</configuration>

0 commit comments

Comments
 (0)