1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / URL rewriting not working on dev server

URL rewriting not working on dev server

11 posts, 0 answered
  1. David
    David avatar
    34 posts
    Registered:
    26 Feb 2010
    26 Feb 2010
    Link to this post
    We have two projects that both point to the same Sitefinity site/database. The structure is like this:

    FirstProduct
        Overview
        History
    SecondProduct
        Overview
        History
    ThirdProduct
        Overview
        History
    Microsite
        SecondProduct
            Overview
            History

    The first/main project uses the FirstProduct, SecondProduct, and ThirdProduct directories. The second/micro project uses the Microsite directory, which thus contains 95% of the content for the SecondProduct. We went this route because we didn't want to have to maintain two different websites with 95% of the same information.
     
    To make this more complicated, we are using URL rewriting on all of these pages in order to keep the URLs the same from the current version of our sites. This is especially important for the second/micro project, as it is supposed to appear independent of the main site.

    I've gotten all of this to work on my local machine. I've set up the URL rewriter in both projects, by following the manual instructions for URL rewriting (added the entries to sectionGroup, httpModules, and the added urlrewrites section). The main project's URL rewriting is working just fine on our dev server.

    However, the second/micro project's URL rewriting is not working at all. The real pages are working (with the full path), but it doesn't appear any of the URL rewriting is working at all. And I cannot find any way to troubleshoot or debug to see if something is failing.

    Any help?

    Thanks,
    David
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    01 Mar 2010
    Link to this post
    Hello David,

    Thank you for contacting us.
    Can you please provide us with the web.config file, so we can check your urlMappings (if you have such) and your UrlRewriter rules?
    On the other hand, how do you access the microsite? Is it through another domain?

    Thank you for your cooperation in advance!

    Greetings,
    Georgi
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. David
    David avatar
    34 posts
    Registered:
    26 Feb 2010
    01 Mar 2010
    Link to this post
    Yes, the microsite is currently hosted as a separate website in IIS, and it is accessed by a different URL. Though, I think it's technically part of the same domain.

    On production, it will be setup as a different WebSite in IIS, and it will be on a completely separate domain.

    Here is the web.config file (obfuscated in a few places for security):

    <?xml version="1.0"?>
    <configuration>
        <configSections>
            <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
                        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                        <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    </sectionGroup>
                </sectionGroup>
            </sectionGroup>
            <sectionGroup name="telerik">
                <section name="dataAccess" type="Telerik.DataAccess.Configuration.SectionHandler, Telerik.DataAccess" requirePermission="false"/>
                <section name="framework" type="Telerik.Framework.Configuration.SectionHandler, Telerik.Framework" requirePermission="false"/>
                <section name="localization" type="Telerik.Localization.Configuration.SectionHandler, Telerik.Localization" requirePermission="false"/>
                <section name="blogs" type="Telerik.Blogs.Configuration.SectionHandler, Telerik.Blogs" requirePermission="false"/>
                <section name="news" type="Telerik.News.Configuration.SectionHandler, Telerik.News" requirePermission="false"/>
                <section name="versioning" type="Telerik.Versioning.Configuration.SectionHandler, Telerik.Versioning" requirePermission="false"/>
                <section name="lists" type="Telerik.Lists.Configuration.SectionHandler, Telerik.Lists" requirePermission="false"/>
                <section name="cmsEngine" type="Telerik.Cms.Engine.Configuration.SectionHandler, Telerik.Cms.Engine" requirePermission="false"/>
                <section name="security" type="Telerik.Security.Configuration.SectionHandler, Telerik.Security" requirePermission="false"/>
                <section name="workflow" type="Telerik.Workflow.WorkflowSectionHandler, Telerik.Workflow" requirePermission="false"/>
                <section name="cms" type="Telerik.Cms.Configuration.SectionHandler, Telerik.Cms" requirePermission="false"/>
                <section name="polls" type="Telerik.Polls.PollsSectionHandler, Telerik.Polls" requirePermission="false"/>
                <section name="fileManager" type="Telerik.FileManager.Configuration.SectionHandler, Telerik.FileManager" requirePermission="false"/>
                <section name="forums" type="Telerik.Forums.Configuration.SectionHandler, Telerik.Forums" requirePermission="false"/>
                <section name="rss" type="Telerik.Rss.Configuration.SectionHandler, Telerik.Rss" requirePermission="false"/>
                <section name="search" type="Telerik.Search.Configuration.SectionHandler, Telerik.Search" requirePermission="false"/>
                <section name="personalization" type="Telerik.Personalization.Configuration.SectionHandler, Telerik.Personalization" requirePermission="false"/>
                <section name="libraries" type="Telerik.Libraries.Configuration.SectionHandler, Telerik.Libraries" requirePermission="false"/>
                <section name="events" type="Telerik.Events.Configuration.SectionHandler, Telerik.Events" requirePermission="false"/>
                <section name="notifications" type="Telerik.Notifications.Newsletters.Configuration.SectionHandler, Telerik.Notifications" requirePermission="false"/>
                <section name="spamProtector" type="Telerik.Cms.Engine.SpamProtector.Configuration.SpamProtectorSection, Telerik.Cms.Engine"/>
                <section name="performanceCounter" type="Telerik.Framework.Utilities.HealthMonitoring.Configuration.CountersSection, Telerik.Framework"/>
                <section name="storageSetting" type="Telerik.Libraries.AmazonStorage.StorageSection, Telerik.Libraries" requirePermission="false"/>
                <section name="mediaProvider" type="Telerik.Libraries.MediaProvider.Configuration.MediaProviderSection, Telerik.Libraries" requirePermission="false"/>
                <section name="wiki" type="Telerik.Wiki.Configuration.SectionHandler, Telerik.Wiki" requirePermission="false"/>
                <section name="urlrewrites" type="Telerik.Cms.Web.AdvancedUrlRewriter, Telerik.Cms"/>
            </sectionGroup>
        </configSections>
        <appSettings>
        <add key="SiteRootUrl" value="/" />
        </appSettings>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <dependentAssembly>
                    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
                    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
                </dependentAssembly>
                <dependentAssembly>
                    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
                    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
        <connectionStrings>
        <add name="Sitefinity" connectionString="data source=DEV_DATABASE_SERVER;Integrated Security=SSPI;initial catalog=COMPANY_NAME_CMS" providerName="System.Data.SqlClient"/>
        </connectionStrings>
        <system.web>
            <!-- Sets the allowed upload file size -->
            <httpRuntime maxRequestLength="51200"/>
            <pages>
                <controls>
                    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
                    <add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Web.UI"/>
                    <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Cms.Web.UI"/>
                    <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Framework"/>
                </controls>
            </pages>
            <httpHandlers>
                <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
                <add verb="*" path="*.rss" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add verb="*" path="*.rss.ashx" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add verb="GET" path="*.sflb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="GET" path="*.sflb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="GET" path="*.tmb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="GET" path="*.tmb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
                <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
                <add verb="*" validate="false" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
                <remove verb="*" path="*.asmx"/>
                <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
                <add verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI"/>
                <add verb="POST" path="blogs/metablog.ashx" type="Telerik.Blogs.MetaWeblog.MetaWeblogHandler, Telerik.Blogs"/>
                <add verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/>
                <add verb="GET" path="*.s3lb" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add verb="GET" path="*.s3lb.ashx" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
          <add verb="*" path="ChartAxd.axd" type="Dundas.Charting.WebControl.ChartHttpHandler" validate="false"/>
            </httpHandlers>
            <customErrors mode="RemoteOnly">
                <error redirect="~/Sitefinity/nopermissions.aspx" statusCode="403"/>
            </customErrors>
            <compilation debug="true">
                <assemblies>
                    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                </assemblies>
            </compilation>
            <roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add connectionStringName="DefaultConnection" applicationName="/" name="Sitefinity" type="Telerik.DataAccess.AspnetProviders.TelerikRoleProvider, Telerik.DataAccess"/>
                </providers>
            </roleManager>
            <membership defaultProvider="Sitefinity" userIsOnlineTimeWindow="15" hashAlgorithmType="">
                <providers>
                    <clear/>
                    <add name="Sitefinity" connectionStringName="DefaultConnection" type="Telerik.DataAccess.AspnetProviders.TelerikMembershipProvider, Telerik.DataAccess" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0"/>
                </providers>
            </membership>
            <profile defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" connectionStringName="DefaultConnection" applicationName="/" type="Telerik.DataAccess.AspnetProviders.TelerikProfileProvider, Telerik.DataAccess"/>
                </providers>
                <properties>
                    <add name="FirstName"/>
                    <add name="LastName"/>
                    <add name="Position"/>
                    <add name="Photo_Hidden"/>
                    <add name="Photo" defaultValue="~/Sitefinity/Common/Images/defaultavatar.gif"/>
                    <group name="InstantMessenger">
                        <add name="IM_Type"/>
                        <add name="IM_Value"/>
                    </group>
                    <group name="Phone">
                        <add name="Value"/>
                        <add name="Type"/>
                    </group>
                </properties>
            </profile>
            <httpModules>
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="Cms" type="Telerik.Cms.Web.CmsHttpModuleUrlRewrite, Telerik.Cms"/> <!-- modified from original -->
                <!-- Http Module for extension mappings in Library module.-->
                <!--<add name="LibraryModule" type="Telerik.Libraries.LibraryHttpModule, Telerik.Libraries"/>-->
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
            </httpModules>
            <authentication mode="Forms">
                <forms name=".ASPNET" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="1440" path="/"/>
            </authentication>
            <authorization>
                <allow users="?"/>
            </authorization>
            <siteMap defaultProvider="CmsSiteMapProvider" enabled="true">
                <providers>
                    <clear/>
                    <add name="CmsSiteMapProvider" description="Displays Cms Pages" type="Telerik.Cms.Web.CmsSiteMapProvider"/>
                </providers>
            </siteMap>
            <healthMonitoring enabled="true" heartbeatInterval="0">
                <eventMappings>
                    <add name="Simple Web Request Event" type="Telerik.Utilities.SimpleWebRequestEvent,Telerik.Framework"/>
                    <add name="Code Benchmark Event" type="Telerik.Utilities.CodeBenchmarkEvent,Telerik.Framework"/>
                </eventMappings>
                <providers>
                    <add name="Simple Web Event Provider" type="Telerik.Utilities.TextFileWebEventProvider,Telerik.Framework" logFileName="~/App_Data/sitefinity.log"/>
                    <add name="Simple Web Buffered Event Provider" type="Telerik.Utilities.BufferedTextFileWebEventProvider,Telerik.Framework" bufferMode="Notification" logFileName="~/App_Data/sitefinity.log"/>
                    <add name="Code Benchmark Provider" type="Telerik.Utilities.CodeBenchmarkTextFileProvider,Telerik.Framework" enabled="False" logFileName="~/App_Data/performance.log"/>
                </providers>
                <rules>
                    <add name="SitefinityEventHandler" eventName="Simple Web Request Event" provider="Simple Web Event Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
                    <add name="SitefinityErrorHandler" eventName="All Errors" provider="Simple Web Event Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
                    <add name="SitefinityCodeBenchmarkHandler" eventName="Code Benchmark Event" provider="Code Benchmark Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
                </rules>
            </healthMonitoring>
        </system.web>
        <system.web.extensions>
            <scripting>
                <!--The Following lines value should be true in production server-->
                <scriptResourceHandler enableCompression="false" enableCaching="false"/>
            </scripting>
        </system.web.extensions>
        <system.webServer>
            <validation validateIntegratedModeConfiguration="false"/>
            <modules>
                <remove name="ScriptModule"/>
                <remove name="Cms"/>
                <!--<remove name="LibraryModule"/>-->
                <remove name="RadUploadModule"/>
                <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="Cms" type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>
                <!-- Http Module for extension mappings in Library module.-->
                <!--<add name="LibraryModule" type="Telerik.Libraries.LibraryHttpModule, Telerik.Libraries"/>-->
                <add name="RadUploadModule" preCondition="managedHandler" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
            </modules>
            <handlers>
                <remove name="ScriptResource"/>
                <remove name="WebServiceHandlerFactory-Integrated"/>
                <remove name="ScriptHandlerFactory"/>
                <remove name="ScriptHandlerFactoryAppServices"/>
                <remove name="SitefinityTemplate"/>
                <remove name="SitefinityThumbnail"/>
                <remove name="SitefinityLibrary"/>
                <remove name="RadUploadProgress"/>
                <remove name="SitefinityRSS"/>
                <remove name="Dialog"/>
                <remove name="Spellcheck"/>
                <remove name="ChartImage"/>
                <remove name="CaptchaImage"/>
                <remove name="Metablog"/>
                <remove name="Trackback"/>
                <remove name="AmazonLibrary"/>
                <remove name="AmazonLibraryAdd"/>
                <remove name="SitefinityThumbnailAdd"/>
                <remove name="SitefinityRSSAdd"/>
                <remove name="SitefinityLibraryAdd"/>
                <remove name="Telerik_Web_UI_WebResource_axd"/>
                <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="SitefinityTemplate" path="*.template" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32"/>
                <add name="SitefinityThumbnail" path="*.tmb" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityThumbnailAdd" path="*.tmb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityLibrary" path="*.sflb" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityLibraryAdd" path="*.sflb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityRSS" preCondition="integratedMode" verb="*" path="*.rss" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add name="SitefinityRSSAdd" preCondition="integratedMode" verb="*" path="*.rss.ashx" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add name="RadUploadProgress" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
                <add name="Dialog" preCondition="integratedMode" verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
                <add name="Spellcheck" preCondition="integratedMode" verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
                <add name="ChartImage" preCondition="integratedMode" verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
                <add name="CaptchaImage" preCondition="integratedMode" verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI"/>
                <add name="Metablog" preCondition="integratedMode" verb="POST" path="blogs/metablog.ashx" type="Telerik.Blogs.MetaWeblog.MetaWeblogHandler, Telerik.Blogs"/>
                <add name="Trackback" preCondition="integratedMode" verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/>
                <add name="AmazonLibrary" path="*.s3lb" verb="*" preCondition="integratedMode" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add name="AmazonLibraryAdd" path="*.s3lb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI"/>
            </handlers>
        </system.webServer>
        <system.net>
            <mailSettings>
                <smtp from="mailmaster@yourdomain.com">
                    <network host="smtp.yourdomain.com" userName="YourUsername" password="YourPassword" port="25"/>
                </smtp>
            </mailSettings>
        </system.net>
        <system.codedom>
            <compilers>
                <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                    <providerOption name="CompilerVersion" value="v3.5"/>
                    <providerOption name="WarnAsError" value="false"/>
                </compiler>
                <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                    <providerOption name="CompilerVersion" value="v3.5"/>
                    <providerOption name="OptionInfer" value="true"/>
                    <providerOption name="WarnAsError" value="false"/>
                </compiler>
            </compilers>
        </system.codedom>
        <telerik>
            <dataAccess defaultConnection="DefaultConnection">
                <connections>
                    <add name="DefaultConnection" driver="Nolics.ORMapper.DataProviders.SqlServer2005Provider" connectionStringName="Sitefinity"/>
                    <add name="GenericContentConnection" driver="Telerik.Cms.Engine.Data.Providers.GCSql2005Provider, Telerik.Cms.Engine.Data" connectionStringName="Sitefinity"/>
                </connections>
            </dataAccess>
            <framework>
                <caching defaultProvider="memoryCache">
                    <providers>
                        <add name="memoryCache" type="Telerik.Caching.MemoryCachingProvider, Telerik.Framework"/>
                        <add name="ASPNET" type="Telerik.Caching.AspNetCachingProvider, Telerik.Framework" duration="120" slidingExpiration="true"/>
                    </providers>
                    <cacheDependency mode="InMemory"/>
                </caching>
                <modules>
            <add type="Telerik.Cms.Engine.GenericContentModule, Telerik.Cms.Engine"/>
            <add type="Telerik.News.NewsModule, Telerik.News"/>
            <add type="Telerik.Libraries.LibrariesModule, Telerik.Libraries"/>
            <add type="Telerik.Blogs.BlogsModule, Telerik.Blogs" />
            <add type="Telerik.Lists.ListModule, Telerik.Lists" />
                </modules>
                <services>
            <add type="Telerik.Rss.RssModule, Telerik.Rss"/>
            <add type="Telerik.Rss.RssProviderService, Telerik.Rss"/>
            <add type="Telerik.Cms.Engine.ContentUrlRewriterService, Telerik.Cms.Engine"/>
                </services>
                <tools>
                    <add type="Telerik.Cms.Tools.SiteExporter, Telerik.Cms"/>
                </tools>
                <assemblies>
                </assemblies>
                <controlDesigners>
                    <add key="System.Web.UI.WebControls.Image" value="Telerik.Libraries.WebControls.ImageEditorDialog, Telerik.Libraries"/>
                    <add key="Telerik.Cms.Engine.WebControls.SitefinityImage" value="Telerik.Libraries.WebControls.ImageEditorDialog, Telerik.Libraries"/>
                </controlDesigners>
                <propertySelectors>
                    <add key="System.Web.UI.Design.ImageUrlEditor" value="Telerik.Libraries.WebControls.ImageSelector, Telerik.Libraries"/>
                </propertySelectors>
                <sitefinityConfiguration defaultProvider="XmlConfigProvider">
                    <providers>
                        <add name="XmlConfigProvider" type="Telerik.Sitefinity.Configuration.XmlConfigProvider, Telerik.Framework"/>
                    </providers>
                </sitefinityConfiguration>
            </framework>
            <notifications defaultProvider="Notifications">
                <providers>
                    <clear/>
                    <add name="Notifications" type="Telerik.Notifications.Data.DefaultProvider, Telerik.Notifications.Data" connectionStringName="DefaultConnection" EnableSsl="false" MergedFields="FirstName;LastName" SendingInterval="1000"/>
                </providers>
            </notifications>
            <search defaultProvider="Search">
                <providers>
                    <clear/>
                    <add name="Search" type="Telerik.Search.Data.DefaultProvider, Telerik.Search.Data" connectionStringName="DefaultConnection" useCompoundIndexFile="true"/>
                </providers>
                <indexClients>
                    <add name="PageIndex" type="Telerik.Cms.Search.PageIndexProvider, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.PageIndexSettings, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.SearchViewControl, Telerik.Cms" description="Provides indexing services for CMS Pages."/>
                </indexClients>
                <indexers>
                    <add extensionOrMimeType=".aspx" type="Telerik.Search.Engine.HtmlIndexer"/>
                    <add extensionOrMimeType="text/html" type="Telerik.Search.Engine.HtmlIndexer"/>
                </indexers>
                <searchInputValidation>
                    <add matchPattern="\A[\*\?\~][^\s]*" replacementString="" enabled="true" matchAlert="You can not start your query using wildcards, modify your query and try again.."/>
                    <add matchPattern="[\!\^\(\)\{\}\[\]]" replacementString="" enabled="true" matchAlert="Strange characters should be enclosed between double quotation, modify your query and try again.."/>
                </searchInputValidation>
            </search>
            <localization defaultProvider="Sitefinity" persistenceMode="None" defaultCulture="en" cultures="en, fr">
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Localization.Data.DefaultProvider, Telerik.Localization.Data" connectionStringName="DefaultConnection"/>
                </providers>
            </localization>
            <lists defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" securityProviderName="" type="Telerik.Lists.Data.DefaultProvider, Telerik.Lists.Data" connectionStringName="DefaultConnection" visible="true"/>
                    <!--
                    <add name="SitefinityXml" securityProviderName="" type="Telerik.Lists.Data.XmlProvider, Telerik.Lists.Data" dataFile="~/App_Data/Lists.xml" visible="true"  />
                    -->
                </providers>
            </lists>
            <forums defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" securityProviderName="" profileProviderName="Sitefinity" type="Telerik.Forums.Data.DefaultProvider, Telerik.Forums.Data" connectionStringName="DefaultConnection" visible="true"/>
                </providers>
            </forums>
            <rss defaultProvider="Sitefinity">
                <feeds>
                </feeds>
                <channelProviders>
                    <clear/>
                    <add name="Page Rss Provider" type="Telerik.Cms.Web.RssChannelProvider, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.RssSettingsControl, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.RssViewSettingsControl, Telerik.Cms" description="Provides RSS for CMS pages"/>
                </channelProviders>
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Rss.Data.DefaultServiceProvider, Telerik.Rss.Data" connectionStringName="DefaultConnection"/>
                </providers>
            </rss>
            <versioning defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Versioning.Data.DefaultProvider, Telerik.Versioning.Data" connectionStringName="DefaultConnection"/>
                </providers>
            </versioning>
            <security defaultProvider="DefaultSecurityProvider" cmsProvidersName="Sitefinity">
                <roles>
                    <clear/>
                    <add name="Administrators" permission="Unrestricted"/>
                </roles>
                <providers>
                    <clear/>
                    <add name="DefaultSecurityProvider" connectionStringName="DefaultConnection" type="Telerik.Security.Data.DefaultSecurityProvider, Telerik.Security.Data" membershipProvider="Sitefinity" roleProvider="Sitefinity"/>
                </providers>
            </security>
            <cms defaultProvider="Sitefinity" pageExtension=".aspx" projectName="FCCOMPANY_NAME" disabled="false" pageEditorUIMode="Overlay">
                <providers>
                    <clear/>
                    <add connectionStringName="DefaultConnection" allowPageHistory="true" allowPageWorkflow="false" cachingProviderName="ASPNET" name="Sitefinity" type="Telerik.Cms.Data.DefaultProvider, Telerik.Cms.Data"/>
                </providers>
                <toolboxControls>
                    <clear/>
                    <add name="Generic Content" section="Most popular" type="Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine"/>
                    <add name="Image" section="Most popular" type="Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine" description="Displays an image on a Web page."/>
                    <add name="Image gallery" section="Most popular" type="Telerik.Libraries.WebControls.ImageGallery, Telerik.Libraries"/>
                    <add name="Dynamic Hyper Link" section="Navigation" type="Telerik.Cms.Engine.WebControls.DynamicHyperLink, Telerik.Cms.Engine" description="Dynamic Hyper Link lets you declare link for cms pages so that its Navigate URL doesn't not depend on where the page is located in the hierarchy."/>
                    <add name="Site Menu" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteMenu.ascx"/>
                    <add name="Site Panelbar" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SitePanelbar.ascx"/>
                    <add name="Site Tabstrip" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteTabstrip.ascx"/>
                    <add name="Site Treeview" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteTreeview.ascx"/>
                    <add name="Breadcrumb" section="Navigation" type="Telerik.Cms.Web.UI.Breadcrumb, Telerik.Cms.Web.UI"/>
                    <add name="Hyper Link" section="Navigation" type="Telerik.Cms.Engine.WebControls.SitefinityHyperLink, Telerik.Cms.Engine" description="Creates links on a Web page that allow users to move from page to page in your application."/>
                    <add name="Language Selector" section="Navigation" type="Telerik.Localization.WebControls.LanguageBar,Telerik.Localization" description="A control for selecting the current language current version"/>
                    <add name="RadTabStrip" section="RadControls" type="Telerik.Web.UI.RadTabStrip, Telerik.Web.UI"/>
                    <add name="RadMenu" section="RadControls" type="Telerik.Web.UI.RadMenu, Telerik.Web.UI"/>
                    <add name="RadPanelBar" section="RadControls" type="Telerik.Web.UI.RadPanelBar, Telerik.Web.UI"/>
                    <add name="Image " section="Images &amp; Documents" type="Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine" description="Displays an image on a Web page."/>
                    <add name="XML Data Source" section="Data" type="System.Web.UI.WebControls.XmlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Represents an XML data source to data-bound controls."/>
                    <add name="SiteMapDataSource" section="Data" type="System.Web.UI.WebControls.SiteMapDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Provides a data source control that Web server controls and other controls can use to bind to hierarchical site map data. "/>
                    <add name="Details View" section="Data" type="System.Web.UI.WebControls.DetailsView, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Displays the values of a single record from a data source in a table, where each data row represents a field of the record. The DetailsView control allows you to edit, delete, and insert records."/>
                    <add name="Grid View" section="Data" type="System.Web.UI.WebControls.GridView, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
                    <add name="Login Status" section="Login" type="System.Web.UI.WebControls.LoginStatus, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Detects the user's authentication state and toggles the state of a link to log in to or log out of a Web site."/>
                    <add name="Login Name" section="Login" type="System.Web.UI.WebControls.LoginName, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Displays the value of the System.Web.UI.Page.User.Identity.Name property."/>
                    <add name="Login" section="Login" url="~/Sitefinity/UserControls/Login/LoginControl.ascx" description="Provides user interface (UI) elements for logging in to a Web site."/>
                    <add name="Manage Profile" section="Login" type="Telerik.Security.WebControls.ManageProfile, Telerik.Security" description="Provides UI for managing user's profile information"/>
                    <add name="Login View" section="Login" url="~/Sitefinity/UserControls/Login/LoginViewControl.ascx" description="Displays the appropriate content template for a given user, based on the user's authentication status and role membership."/>
                    <add name="Create User" section="Login" url="~/Sitefinity/UserControls/Login/CreateUserWizardControl.ascx" description="Provides a user interface for creating new Web site user accounts."/>
                    <add name="Spam Protector" section="Forms" type="Telerik.Web.UI.SpamProtection.SpamProtector, Telerik.Cms.Web.UI" description="Provides spam protection to web forms using different strategies."/>
                    <add name="Video" section="Most popular" type="Telerik.Libraries.WebControls.Video, Telerik.Libraries" description="Video content control"/>
                    <!-- Navigation Controls -->
                    <add name="Fund Detail SubHeader PlaceHolder" section="Generic Controls" url="~/UserControls/Generic_Controls/FundDetailSubHeaderPlaceholder.ascx"/>
                    <!-- CEF Summary -->
                    <add name="CEF Summary" section="CEF Controls" url="~/UserControls/CEF_Controls/CEFSummary.ascx"/>
                </toolboxControls>
            </cms>
            <cmsEngine defaultProvider="Generic_Content">
                <providers>
                    <clear/>
                    <add name="Generic_Content" urlRewriteFormat="[Publication_Date]/[Name].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="True" defaultMetaField="Name" securityProviderName="" allowLocalization="False" allowVersioning="True" allowWorkflow="False" allowComments="false" commentsModeration="true" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Cms.Engine.Data.Providers.DefaultProvider, Telerik.Cms.Engine.Data"/>
                    <add name="News" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/News" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.News.Data.DefaultNewsProvider, Telerik.News.Data"/>
                    <add name="Blogs" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" applicationName="/Blogs" allowVersioning="True" allowComments="true" commentsModeration="false" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Blogs.Data.DefaultBlogProvider, Telerik.Blogs.Data"/>
                    <add name="Libraries" urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].sflb.ashx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="False" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.DefaultProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>
                    <!--Amazon Data Provider [First turn off the default one] url format can be urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].s3lb" as well in that cae there will extra libraries in the url-->
                    <!--<add name="Libraries" urlRewriteFormat="~/{LibraryName}/[Name].s3lb"  thumbnailExtension=".tmb" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.AmazonProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx" />-->
                    <!--Viddler Data Provider Compatible with other libraries, must add a libraryInfo with type = "Viddler"-->
                    <!--<add name="Libraries" urlRewriteFormat="~/{LibraryName}/[Name].sflb.ashx" thumbnailExtension=".tmb.ashx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.ViddlerProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>-->
                    <add name="Events" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/Events" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.Events.Data.DefaultEventsProvider, Telerik.Events.Data"/>
                    <add name="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" securityProviderName="" allowVersioning="True" applicationName="/Wiki" versioningProviderName="" allowComments="true" commentsModeration="true" connectionStringName="GenericContentConnection" dataFile="~/App_Data/Wikis.xml" type="Telerik.Wiki.Data.XmlProvider, Telerik.Wiki.Data"/>
                </providers>
                <rssProviders>
                    <clear/>
                    <add name="Blogs" type="Telerik.Blogs.RssProvider, Telerik.Blogs" visible="True" applicationName="/Blogs" rssFieldAuthor="Author" rssFieldTitle="Title" rssFieldPubDate="Publication_Date"/>
                </rssProviders>
                <browserCacheSettings lastModifiedDateEnabled="true" contentExpirationEnabled="false">
                    <expirationSettings option="ExpireImmediately" value="0">
                    </expirationSettings>
                </browserCacheSettings>
                <metaFields>
                    <add key="Generic_Content.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="Name this content" mandatory="True"/>
                    <add key="Generic_Content.Description" valueType="LongText" visible="True" searchable="False" sortable="True" defaultValue="Add description here"/>
                    <add key="Generic_Content.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Generic_Content.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Summary" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Source" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="News.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max"/>
                    <add key="News.Thumbnail" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="News.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="">
                    </add>
                    <add key="Blogs.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Blogs.BlogID" valueType="Guid" visible="False" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.View_Count" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="0"/>
                    <add key="Libraries.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Width" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Height" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Size" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Extension" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.AlternateText" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Description" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.PermaLink" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.Street" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.City" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.Country" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.State" valueType="ShortText" visible="True" searchable="True" sortable="False" defaultValue=""/>
                    <add key="Events.Geomapping_Data" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Event_Start" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Events.Event_End" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Events.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Events.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max"/>
                    <add key="Events.Contact_Name" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Email" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Phone" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Cell" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Web" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Wiki.Name" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="HomePage" mandatory="True"/>
                    <add key="Wiki.Wiki" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="DefaultWiki"/>
                    <add key="Wiki.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Wiki.Category" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue=""/>
                    <add key="Wiki.DisplayName" valueType="Boolean" visible="False" searchable="False" sortable="False" defaultValue="True"/>
                </metaFields>
                <contentViewSettings>
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.TextSettingService"/>
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.ContentSettingService"/>
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.MaxWidthSettingService"/>
                </contentViewSettings>
            </cmsEngine>
            <news defaultGenericProvider="News">
                <genericContentProviders>
                    <add providerName="News" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" thumbnailUrlField="Thumbnail" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_"/>
                </genericContentProviders>
            </news>
            <blogs defaultGenericProvider="Blogs">
                <genericContentProviders>
                    <add providerName="Blogs" publicationDateField="Publication_Date" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" flatOwnership="True"/>
                </genericContentProviders>
            </blogs>
            <libraries defaultGenericProvider="Libraries">
                <genericContentProviders>
                    <add providerName="Libraries" publicationDateField="Publication_Date"/>
                </genericContentProviders>
                <libraryInfo>
                    <add name="Image" title="Image Library" defaultExtenstions=".png, .jpg, .jpeg, .gif" metaKeys="Author, AlternateText, Extension, Name, Height, Width, Size, Category">
                    </add>
                    <add name="Document" title="Document Library" defaultExtenstions=".doc, .docx, .rtf, .txt, .pdf, .ppt, .pps, .pptx, .html, .xls, .xlsx" metaKeys="Author, Description, Extension, Name, Size, Category">
                    </add>
                    <add name="Custom" title="Custom Library" defaultExtenstions=".*" metaKeys="Author, Description, Extension, Name, Size, Category">
                    </add>
                    <add name="Video" title="Video" defaultExtenstions=".wmv" metaKeys="Author, Extension, Name, Size, Category, Description">
                    </add>
                </libraryInfo>
                <extensionMapping defaultExtension=".sflb.ashx">
                </extensionMapping>
            </libraries>
            <events defaultGenericProvider="Events" googleMapsAPIKey="" googleMapsAPIUrl="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=" yahooMapsAPIKey="" yahooMapsAPIUrl="http://api.maps.yahoo.com/ajaxymap?v=3.7&amp;appid=" liveSearchMapsAPIUrl="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2">
                <genericContentProviders>
                    <add providerName="Events" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" eventStartField="Event_Start" eventEndField="Event_End" streetField="Street" cityField="City" countryField="Country" stateField="State" geomappingDataField="Geomapping_Data" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_"/>
                </genericContentProviders>
            </events>
            <wiki defaultGenericProvider="Wiki" defaultProvider="SitefinityXml">
                <genericContentProviders>
                    <add providerName="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_"/>
                </genericContentProviders>
            </wiki>
            <workflow deleteOnCompletion="true" defaultProvider="NolicsWorkflowProvider">
                <providers>
                    <clear/>
                    <add name="NolicsWorkflowProvider" connectionStringName="DefaultConnection" type="Telerik.Workflow.NolicsWorkflowProvider, Telerik.Workflow"/>
                </providers>
            </workflow>
            <polls defaultProvider="NolicsPollsProvider">
                <providers>
                    <clear/>
                    <add name="NolicsPollsProvider" connectionStringName="DefaultConnection" type="Telerik.Polls.Data.NolicsPollsProvider, Telerik.Polls.Data"/>
                </providers>
            </polls>
            <fileManager defaultProvider="Sitefinity">
                <impersonation username="" password="">
                    <allow roles="Administrators">
                    </allow>
                </impersonation>
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.FileManager.DefaultProvider, Telerik.FileManager"/>
                </providers>
            </fileManager>
            <personalization defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Personalization.Data.NolicsProvider, Telerik.Personalization.Data" connectionStringName="DefaultConnection"/>
                </providers>
                <globalSettings>
                    <add type="Telerik.Cms.Web.UI.Personalization.GeneralSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/GeneralSettings.ascx" order="1"/>
                    <add type="Telerik.Cms.Web.UI.Personalization.DashboardSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/DashboardSettings.ascx" order="2"/>
                    <add type="Telerik.Cms.Web.UI.Personalization.PageEditorSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/PageEditorSettings.ascx" order="3"/>
                </globalSettings>
                <dashboardVisibilitySettings>
                    <add key="showMyLatestChanges" value="true"/>
                    <add key="showLastModifiedPages" value="true"/>
                    <add key="showNewUsers" value="false"/>
                    <add key="showLastModifiedBlogs" value="false"/>
                    <add key="showLastModifiedBlogPosts" value="false"/>
                    <add key="showLastModifiedNews" value="false"/>
                    <add key="showLastModifiedForums" value="false"/>
                    <add key="showNewForumPosts" value="false"/>
                    <add key="showLastModifiedLists" value="false"/>
                    <add key="showLastModifiedContents" value="false"/>
                </dashboardVisibilitySettings>
            </personalization>
            <spamProtector defaultProvider="akismet" disabled="true">
                <providers>
                    <add name="akismet" type="Telerik.Cms.Engine.SpamProtector.AkismetProvider" key="c0e8868fd509" siteUrl="http://www.telerik.com/"/>
                </providers>
            </spamProtector>
            <performanceCounter category="Sitefinity CMS" description="Sitefinity performance statistics" disabled="true">
                <counters>
                    <add name="DAL Operations/Sec" description="The number database calls made per second." type="RateOfCountsPerSecond32"/>
                    <add name="Error Raised" description="Number of times excpetion has been thrown running the app" type="NumberOfItems32"/>
                    <add name="CMS Page Average Execution Time" description="The average time consumed to serve Sitefinity pages measured in milliseconds." type="AverageTimer32"/>
                    <add name="CMS Content Average Execution Time" description="The average time consumed to serve Sitefinity Content measured in milliseconds." type="AverageTimer32"/>
                    <add name="Average Operation Execution Time" description="The average time to execute an operaion (CRUD) measured in milliseconds." type="AverageTimer32"/>
                </counters>
            </performanceCounter>
            <storageSetting defaultProvider="Amazon">
                <providers>
                    <add name="Amazon" type="Telerik.Libraries.AmazonStorage.AmazonStorageProvider, Telerik.Libraries" downloadUrlPrefix="http://s3.amazonaws.com" accessKey="#YourAccessKey#" secretAccessKey="#YourSecrectKey#" bucketName="Sitefinity"/>
                </providers>
            </storageSetting>
            <!-- Viddler-->
            <mediaProvider defaultProvider="viddler">
                <providers>
                    <add name="viddler" type="Telerik.Libraries.MediaProvider.ViddlerProvider" apiKey="#Your_Api#" baseUrl="http://api.viddler.com/rest/v1/"/>
                </providers>
            </mediaProvider>
            <urlrewrites>
          <rule>
            <url>/fund/(.*)/contact</url>
            <rewrite>/fcCOMPANYNAME/fund-details/fund-contact?ticker=$1</rewrite>
          </rule>
          <rule>
            <url>/fund/(.*)/literature</url>
            <rewrite>/fcCOMPANYNAME/fund-details/fund-literature?ticker=$1</rewrite>
          </rule>
          <rule>
            <url>/fund/(.*)/distributions</url>
            <rewrite>/fcCOMPANYNAME/fund-details/fund-distributions-tax-info?ticker=$1</rewrite>
          </rule>
          <rule>
            <url>/fund/(.*)/performance</url>
            <rewrite>/fcCOMPANYNAME/fund-details/fund-performance?ticker=$1</rewrite>
          </rule>
          <rule>
            <url>/fund/(.*)/prices</url>
            <rewrite>/fcCOMPANYNAME/fund-details/fund-prices?ticker=$1</rewrite>
          </rule>
          <rule>
            <url>/fund/(.*)/portfolio</url>
            <rewrite>/fcCOMPANYNAME/fund-details/portfolio?ticker=$1</rewrite>
          </rule>
            <rule>
                <url>/fund/(.*)</url>
                <rewrite>/fcCOMPANYNAME/fund-details/fund-overview?ticker=$1</rewrite>
            </rule>
          <rule>
            <url>/default.aspx</url>
            <rewrite>/fcCOMPANYNAME/default</rewrite>
          </rule>
            </urlrewrites>
        </telerik>
    </configuration>
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    01 Mar 2010
    Link to this post
    Hello David,

    The Sitefinity UrlRewrite module works only for the current, Sitefinity application. In other words, it will not handle the requests made to another application, even if it is in a subsite. 

    * You have several options - to use IIS rewrite module, globally - http://learn.iis.net/page.aspx/460/using-url-rewrite-module/

    * Migrate the subsite to the Sitefinity application, and use domain to page mapping feature - http://www.sitefinity.com/support/kb/sitefinity-3-x/the-“domain-–-page-mapping”-feature.aspx - this way you will be able to use our rewriter for the whole web infrastructure.

    All the best,
    Georgi
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. David
    David avatar
    34 posts
    Registered:
    26 Feb 2010
    08 Mar 2010
    Link to this post
    The domain - page mapping looks like an ideal solution, but I'm running into a few issues. We're currently working in our dev environment, although I'm not sure whether that matters.

    So, I've added this to the telerik/cms node in my web.config file:
    <urlMappings>
      <add key="dev-micro" value="microsite/default" />
    </urlMappings>

    I tried with a value of just "microsite", but I seemed to be in an infinite loop whenever I navigated to dev-micro. My browser kept loading and loading and loading for up to 5 minutes. I also kept getting a 404 whenever I tried to navigate to the microsite within the main product site.

    So, now I can navigate to dev-micro, and I see the default page. However, I cannot navigate to any page within that microsite. I created a simple page called test1, and I cannot navigate to that under the microsite. I can, however, navigate to it from the main product site.

    Any ideas?
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    08 Mar 2010
    Link to this post
    Hi David,

    Thank you for getting back to us. 

    Is microsite a page of type Page Group? If yes, then the redirect can happen as page groups redirect to their first child page by default. When you have mapped to the microsite/default then you should be able to navigate to pages that are children of microsite/default not microsite. Can you try to change the type of the microsite page to normal page and then map the sub domain as you first tried? 

    All the best,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. David
    David avatar
    34 posts
    Registered:
    26 Feb 2010
    09 Mar 2010
    Link to this post
    Yes, microsite is a Page Group. I tried making it a Page Group, but it still didn't work.

    There is also a page group underneath the microsite directory, so I created a simpler test. I created a page called "test_1" at the root directory and then another page called "test_sub_1" under "test_1". Like this:

    All Pages
      test_1
        test_sub_1

    I then added the following to my web.config:

    <urlMappings>
    <add key="dev-micro" value="test_1" />
    </
    urlMappings>

    This time I was able to navigate to http://dev-micro, and I saw the page for test_1. However, I then tried to go to http://dev-micro/test_sub_1 and that failed.

    Do I need to add any further mappings for test_sub_1?

    Thanks again,
    David
  8. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    09 Mar 2010
    Link to this post
    Hello David,

    Thank you for getting back to me.

    Sub domains are used as bellow:

    Main domain:
    mysite.com

    Sub domains:
    sub1.mysite.com
    sub2.mysite.com

    So you should be able to access a sub page under a sub domain like this:
    sub1.mysite.com/subdomainpage.aspx

    rather than sub1/subdomainpage.aspx.

    Greetings,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  9. David
    David avatar
    34 posts
    Registered:
    26 Feb 2010
    09 Mar 2010
    Link to this post
    Yes, I'm aware of that. My original problem was that I want to have a separate "micro site" that contains portions of the main site, but it is not a subdomain. Will this solution only work for subdomains, then?
  10. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    09 Mar 2010
    Link to this post
    Hello David,

    Unfortunately the sub domains solution does not work this way. It is used for sub domains only, not for standalone domains. Under your license agreement for Sitefinity your license is valid for only one top level domain.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  11. David
    David avatar
    34 posts
    Registered:
    26 Feb 2010
    19 Mar 2010
    Link to this post
    We ended up using a domain alias (after speaking with another representative) instead.

    Thanks again for your help.
Register for webinar
11 posts, 0 answered