I need to create a Sitecore patch file to add a line to the existing value attribute of the IgnoreUrlPrefixes parameter in the web.config file.
I tried to completely overwrite the default ignored prefixes with the following include file:
<?xml version="1.0"?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <settings> <setting name="IgnoreUrlPrefixes"> <patch:attribute name="value">/foo/|/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</patch:attribute> </setting> </settings> </sitecore> </configuration> </settings>
Where /foo/ is the URL prefix that I would like to add to the default prefixes. ShowConfig.aspx indicates that the changed configuration has not been applied.
Ideally, I would just add /foo/ to what IgnoreUrlPrefixes defaults IgnoreUrlPrefixes . Does anyone know if this is possible and how to specify it in Sitecore patch syntax?
sitecore sitecore6
Kevin obee
source share