Skip to content

Instantly share code, notes, and snippets.

@joshknutson
Created April 24, 2010 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshknutson/377682 to your computer and use it in GitHub Desktop.
Save joshknutson/377682 to your computer and use it in GitHub Desktop.
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