Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
main directory
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xs="DotNetConfig.xsd" xmlns:vs="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.webServer>
<directoryBrowse enabled="true"/>
<httpProtocol>
<customHeaders>
<add name="X-Custom-Header" value="Coldfusion"/>
</customHeaders>
</httpProtocol>
</system.webServer>
<system.web>
<customErrors defaultRedirect="default.cfm" mode="On">
<error statusCode="500" redirect="servererror.html"/>
<error statusCode="404" redirect="filenotfound.html"/>
<error statusCode="403" redirect="AccessDenied.html"/>
</customErrors>
</system.web>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment