Skip to content

Instantly share code, notes, and snippets.

@bestpika
Last active June 25, 2018 07:45
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 bestpika/0f906291c5db64b72c8023758484051b to your computer and use it in GitHub Desktop.
Save bestpika/0f906291c5db64b72c8023758484051b to your computer and use it in GitHub Desktop.
IIS 7.x static content
<configuration>
<system.webServer>
<modules>
<remove name="FormsAuthentication" />
<remove name="RoleManager" />
<remove name="UrlAuthorization" />
<remove name="DefaultAuthentication" />
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
<add name="RoleManager" type="System.Web.Security.RoleManagerModule" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" />
<add name="DefaultAuthentication" type="System.Web.Security.DefaultAuthenticationModule" />
</modules>
</system.webServer>
</configuration>
@bestpika
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment