This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://www.DOMAIN.com/sitemap.xml | grep -e loc | sed 's|<loc>\(.*\)<\/loc>$|\1|g' > urls.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cert = new X509Certificate2("client.pfx", "mySuperSecretPassword"); | |
args.MongoSettings.SslSettings = new SslSettings(); | |
args.MongoSettings.SslSettings.ClientCertificates = new[] { cert }; | |
args.MongoSettings.UseSsl = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pipelines> | |
<updateMongoDriverSettings> | |
</updateMongoDriverSettings> | |
</pipelines> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UpdateMongoDriverSettingsArgs updateMongoDriverSettingsArgs = new UpdateMongoDriverSettingsArgs(mongoUrl.DatabaseName, mongoSettings); | |
UpdateMongoDriverSettingsPipeline.Run(updateMongoDriverSettingsArgs); | |
MongoClient mongoClient = new MongoClient(updateMongoDriverSettingsArgs.MongoSettings); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cert = new X509Certificate2("client.pfx", "mySuperSecretPassword"); | |
var settings = new MongoClientSettings | |
{ | |
SslSettings = new SslSettings | |
{ | |
ClientCertificates = new[] { cert }, | |
}, | |
UseSsl = true | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:x="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<settings> | |
<setting name="IgnoreUrlPrefixes"> | |
<patch:attribute name="value">/sitecore/default.aspx|/trace.axd|/webresource.axd|/sitecore/shell/Controls/Rich Text Editor/Telerik.Web.UI.DialogHandler.aspx|/sitecore/shell/applications/content manager/telerik.web.ui.dialoghandler.aspx|/sitecore/shell/Controls/Rich Text Editor/Telerik.Web.UI.SpellCheckHandler.axd|/Telerik.Web.UI.WebResource.axd|/sitecore/admin/upgrade/|/layouts/testing|/foo|/bar|/baz</patch:attribute> | |
</setting> | |
</settings> | |
</sitecore> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Collections; | |
using Sitecore.Pipelines.HttpRequest; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace Sitecore.PatchableIgnoreList | |
{ | |
public class ProcessPatchedIgnores : HttpRequestProcessor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<pipelines> | |
<httpRequestBegin> | |
<processor type="Sitecore.PatchableIgnoreList.ProcessPatchedIgnores, Sitecore.PatchableIgnoreList"> | |
<Paths hint="list:AddPaths"> | |
<baz>/baz</baz> | |
</Paths> | |
</processor> | |
</httpRequestBegin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<pipelines> | |
<httpRequestBegin> | |
<processor type="Sitecore.PatchableIgnoreList.ProcessPatchedIgnores, Sitecore.PatchableIgnoreList" | |
patch:after="processor[@type='Sitecore.Pipelines.HttpRequest.IgnoreList, Sitecore.Kernel']"> | |
<Paths hint="list:AddPaths"> | |
<foo>/foo</foo> | |
<bar>/bar</bar> | |
</Paths> |