Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed extraneous .orig file

  • Loading branch information...
commit cd4631c190f25d96690596822f713c754d0f97b9 1 parent 7ab87bd
@anurse anurse authored
Showing with 0 additions and 307 deletions.
  1. +0 −307 Website/Web.config.orig
View
307 Website/Web.config.orig
@@ -1,307 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- For more information on how to configure your ASP.NET application, please visit
- http://go.microsoft.com/fwlink/?LinkId=152368
-
- NOTE: If you debug this on your local machine with IIS 7 then install the URL Rewrite Module
- http://www.iis.net/downloads/microsoft/url-rewrite
- -->
-<configuration>
- <configSections>
- <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
- <sectionGroup name="elmah">
- <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
- <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
- <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
- <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
- </sectionGroup>
- <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere"/>
- </configSections>
- <appSettings>
- <add key="reCAPTCHA::PrivateKey" value="6LcebdwSAAAAAI5dI90LpPMFGKDxdCt6fjwEwMut" /> <!-- development only key, override on live site -->
- <add key="reCAPTCHA::PublicKey" value="6LcebdwSAAAAAFI06sH9RRb2VP1HFCjYpg74lKG7" /> <!-- development only, overridde on live site -->
- <add key="webpages:Version" value="2.0.0.0" />
- <add key="PreserveLoginUrl" value="true" />
- <add key="ClientValidationEnabled" value="true" />
- <add key="UnobtrusiveJavaScriptEnabled" value="true" />
- <add key="Gallery.ReleaseBranch" value="" />
- <add key="Gallery.ReleaseName" value="" />
- <add key="Gallery.ReleaseSha" value="" />
- <add key="Gallery.ReleaseTime" value="" />
-<<<<<<< HEAD
-
- <!-- Use these settings for local non-SSL testing -->
- <add key="Gallery.SSL.Required" value="false" />
-
- <!-- Use these settings for local SSL testing (configure it in VS first) -->
- <!--<add key="Gallery.SSL.Required" value="true" />
- <add key="Gallery.SSL.Port" value="44300" /> --><!-- VS usually uses "44300" as the port. If that's taken, it uses "44301", "44302", and so on. -->
-=======
- <add key="Gallery.EnvironmentName" value="" />
->>>>>>> anurse-AddEnvironmentNameToBuild
-
- <!-- If you're running in Azure, we suggest you set these in your .cscfg file. -->
- <add key="Gallery.AzureStorageConnectionString" value="UseDevelopmentStorage=true" />
- <add key="Gallery.AzureStatisticsConnectionString" value=""/>
- <add key="Gallery.AzureCdnHost" value="" />
- <add key="Gallery.GoogleAnalyticsPropertyId" value="" />
- <add key="Gallery.PackageStoreType" value="" />
- <add key="Gallery.SiteRoot" value="http://nuget.org/" />
- <add key="Gallery.FacebookAppId" value="" />
- <add key="Gallery.GalleryOwnerName" value="NuGet Gallery" />
- <add key="Gallery.GalleryOwnerEmail" value="nugetgallery@outercurve.org" />
- <add key="Gallery.ReadOnlyMode" value=""/>
- <add key="Gallery.SmtpHost" value="" />
- <add key="Gallery.SmtpPort" value="" />
- <add key="Gallery.SmtpUsername" value="" />
- <add key="Gallery.SmtpPassword" value="" />
- <add key="Gallery.UseSmtp" value="true" />
- </appSettings>
- <connectionStrings>
- <!-- If you don't have Visual Studio 2012 installed, use this connection string instead of the LocalDB one for local testing -->
- <!--<add name="NuGetGallery" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=NuGetGallery;Integrated Security=SSPI" providerName="System.Data.SqlClient" />-->
- <add name="NuGetGallery" connectionString="Data Source=(LocalDB)\v11.0;Initial Catalog=NuGetGallery;Integrated Security=SSPI" providerName="System.Data.SqlClient" />
- </connectionStrings>
- <elmah>
- <!--
- See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
- more information on remote access and securing ELMAH.
- -->
- <security allowRemoteAccess="true" />
- <errorFilter>
- <test>
- <equal binding="HttpStatusCode" value="404" type="Int32" />
- </test>
- </errorFilter>
- <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="NuGetGallery" />
- </elmah>
- <!-- Ensure only Admins may access elmah.axd -->
- <location path="elmah.axd" inheritInChildApplications="false">
- <system.web>
- <httpHandlers>
- <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
- </httpHandlers>
- <authorization>
- <allow roles="Admins" />
- <deny users="*" />
- </authorization>
- <!--
- See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
- more information on using ASP.NET authorization securing ELMAH.
- <authorization>
- <allow roles="admin" />
- <deny users="*" />
- </authorization>
- -->
- </system.web>
- <system.webServer>
- <handlers>
- <add name="Elmah" path="elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
- <add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
- </handlers>
- </system.webServer>
- </location>
- <!-- Allow some very specific set of name to be used with the ~/package and ~/api/vX/package/ routes -->
- <location path="packages">
- <system.web>
- <httpHandlers configSource="Web.ForbiddenHandlers.config" />
- </system.web>
- <system.webServer>
- <security>
- <requestFiltering>
- <fileExtensions allowUnlisted="true">
- <remove fileExtension=".config" />
- <remove fileExtension=".rules" />
- <remove fileExtension=".resources" />
- </fileExtensions>
- </requestFiltering>
- </security>
- </system.webServer>
- </location>
- <location path="api/v1/package">
- <system.web>
- <httpHandlers configSource="Web.ForbiddenHandlers.config" />
- </system.web>
- <system.webServer>
- <security>
- <requestFiltering>
- <fileExtensions allowUnlisted="true">
- <remove fileExtension=".config" />
- <remove fileExtension=".rules" />
- <remove fileExtension=".resources" />
- </fileExtensions>
- </requestFiltering>
- </security>
- </system.webServer>
- </location>
- <location path="api/v2/package">
- <system.web>
- <httpHandlers configSource="Web.ForbiddenHandlers.config" />
- </system.web>
- <system.webServer>
- <security>
- <requestFiltering>
- <fileExtensions allowUnlisted="true">
- <remove fileExtension=".config" />
- <remove fileExtension=".rules" />
- <remove fileExtension=".resources" />
- </fileExtensions>
- </requestFiltering>
- </security>
- </system.webServer>
- </location>
- <!--
- For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
-
- The following attributes can be set on the <httpRuntime> tag.
- <system.Web>
- <httpRuntime targetFramework="4.5" />
- </system.Web>
- -->
- <system.web>
- <compilation debug="false" targetFramework="4.5">
- <assemblies>
- <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Routing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- </assemblies>
- </compilation>
- <authentication mode="Forms">
- <forms loginUrl="~/Users/Account/LogOn" timeout="2880" />
- </authentication>
- <pages controlRenderingCompatibilityVersion="4.0">
- <namespaces>
- <add namespace="System.Web.Helpers" />
- <add namespace="System.Web.Mvc" />
- <add namespace="System.Web.Mvc.Ajax" />
- <add namespace="System.Web.Mvc.Html" />
- <add namespace="System.Web.Routing" />
- <add namespace="System.Web.WebPages" />
- </namespaces>
- </pages>
- <httpRuntime maxQueryStringLength="12000" maxRequestLength="2000000000" requestPathInvalidCharacters="&lt;,&gt;,*,%,:,\,?" />
- <httpModules>
- <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
- <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
- <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
- <add name="AsyncFileUpload" type="NuGetGallery.AsyncFileUpload.AsyncFileUploadModule, NuGetGallery.Website" />
- </httpModules>
- <httpHandlers />
- <customErrors mode="RemoteOnly" defaultRedirect="~/Errors/error.html">
- <error statusCode="404" redirect="~/Errors/404" />
- </customErrors>
- <sessionState mode="Off" />
- </system.web>
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true">
- <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
- <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
- <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
- <add name="AsyncFileUpload" type="NuGetGallery.AsyncFileUpload.AsyncFileUploadModule, NuGetGallery.Website" preCondition="managedHandler"/>
- </modules>
- <validation validateIntegratedModeConfiguration="false" />
- <handlers />
- <httpErrors errorMode="Custom">
- <remove statusCode="404" subStatusCode="-1" />
- <error statusCode="404" path="/Errors/404" responseMode="ExecuteURL" />
- <remove statusCode="500" subStatusCode="-1" />
- <error statusCode="500" path="/Errors/Error.html" responseMode="ExecuteURL" />
- </httpErrors>
- <security>
- <requestFiltering>
- <requestLimits maxQueryString="12000" />
- </requestFiltering>
- </security>
- <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
- <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
- <dynamicTypes>
- <add mimeType="text/*" enabled="true" />
- <add mimeType="message/*" enabled="true" />
- <add mimeType="application/javascript" enabled="true" />
- <add mimeType="application/x-javascript" enabled="true" />
- <add mimetype="application/json" enabled="true" />
- <add mimetype="application/atom+xml" enabled="true" />
- <add mimetype="application/atom+xml;charset=utf-8" enabled="true" />
- <add mimeType="*/*" enabled="false" />
- </dynamicTypes>
- <staticTypes>
- <add mimeType="text/*" enabled="true" />
- <add mimeType="message/*" enabled="true" />
- <add mimeType="application/javascript" enabled="true" />
- <add mimeType="application/x-javascript" enabled="true" />
- <add mimetype="application/json" enabled="true" />
- <add mimetype="application/atom+xml" enabled="true" />
- <add mimetype="application/atom+xml;charset=utf-8" enabled="true" />
- <add mimeType="*/*" enabled="false" />
- </staticTypes>
- </httpCompression>
- <urlCompression doStaticCompression="true" doDynamicCompression="true" />
- <rewrite>
- <rules>
- <rule name="Legacy feed root URL" stopProcessing="true">
- <match url="^$" />
- <conditions>
- <add input="{HTTP_HOST}" pattern="^packages([0-9]?)\.nuget.org$" />
- </conditions>
- <action type="Redirect" url="http://packages.nuget.org/v1/FeedService.svc" redirectType="Permanent" />
- </rule>
- <rule name="Legacy image icon URL" stopProcessing="true">
- <match url="^media/default/packages/([a-z0-9_][a-z0-9._-]*)/([0-9.]+)/[\w._ -]+\.([a-z]+)$" />
- <action type="Redirect" url="https://nugetgallery.blob.core.windows.net/icons/{R:1}.{R:2}.{R:3}" redirectType="Permanent" />
- </rule>
- <rule name="Curated Feed Download URL" stopProcessing="true">
- <match url="^api/v2/curated-feeds/package/" />
- <action type="None" />
- </rule>
- <rule name="Curated Feed" stopProcessing="true">
- <match url="^api/v2/curated-feeds/([^/]+)(.*)$" />
- <action type="Rewrite" url="api/v2/curated-feed{R:2}?name={R:1}" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="RouteMagic" publicKeyToken="84b59be021aa4cee" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-0.2.2.2" newVersion="0.2.2.2" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-4.3.1.0" newVersion="4.3.1.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <system.serviceModel>
- <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
- </system.serviceModel>
- <entityFramework>
- <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework">
- <parameters>
- <parameter value="Data Source=(localdb)\v11.0; Integrated Security=True; MultipleActiveResultSets=True" />
- </parameters>
- </defaultConnectionFactory>
- </entityFramework>
-</configuration>
Please sign in to comment.
Something went wrong with that request. Please try again.