Skip to content

Instantly share code, notes, and snippets.

@dotnetchris
Created September 20, 2012 20:48
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 dotnetchris/3758271 to your computer and use it in GitHub Desktop.
Save dotnetchris/3758271 to your computer and use it in GitHub Desktop.
RavenDB server web.config usage for gist https://gist.github.com/3758246
<configuration>
<appSettings>
<add key="Raven/AnonymousAccess" value="All" />
<add key="Raven/RunInMemory" value="true" />
<add key="Raven/VirtualDirectory" value="/ravendb.testserver" />
<add key="Raven/TempIndexPromotionMinimumQueryCount" value="1" />
</appSettings>
<system.web>
<customErrors mode="Off">
</customErrors>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
<add name="All" path="*" verb="*" type="Raven.Web.ForwardToRavenRespondersFactory, Raven.Web" />
</handlers>
</system.webServer>
<runtime>
<loadFromRemoteSources enabled="true" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Analyzers" />
</assemblyBinding>
</runtime>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment