Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
- <configSections>
- <section name="paypal" type="PayPal.SDKConfigHandler, PayPal" />
- <section name="resizer" type="ImageResizer.ResizerSection,ImageResizer" requirePermission="false" />
- <sectionGroup name="UniversalAnalyticSettings">
- <section name="Account" type="Analytics.Configuration, Analytics" allowLocation="true" allowDefinition="MachineToApplication" />
- </sectionGroup>
- </configSections>
- <resizer>
- <!-- Unless you (a) use Integrated mode, or (b) map all reqeusts to ASP.NET,
- you'll need to add .ashx to your image URLs: image.jpg.ashx?width=200&height=20 -->
- <pipeline fakeExtensions=".ashx" />
- <plugins>
- <add name="MvcRoutingShim" />
- <add name="DiskCache" />
- <!-- <add name="PrettyGifs" /> -->
- </plugins>
- </resizer>
- <!-- PayPal SDK settings -->
- <paypal>
- <settings>
- <add name="mode" value="live" />
- <add name="clientId" value="AZkYn4Lh-4-zh9AQyo7NdMm9dIFx_pqICIEYQNzoQtOwrp1EyX_EUMADEHJLgAkkIHm-c14ZUlIgWgUk" />
- <add name="clientSecret" value="EClqeWttBSfw_WhJAjYqApUPNuacICx6v-xaEXsyL_PyVCgxVDOP9jUjxIYjQfbNzoik7qPmGGN_auLT" />
- </settings>
- </paypal>
- <UniversalAnalyticSettings>
- <Account account="UA-9524291-47" property="auto" />
- </UniversalAnalyticSettings>
- <connectionStrings>
- <add name="ErrorLogging" connectionString="Server=.\SQLEXPRESS;Initial Catalog=db_HarryCorry;User ID=lgn_Harry14Corry4z;Password=tR9Gahek;Pooling=true;Connect Timeout=30;Max Pool Size=200;" providerName="System.Data.SqlClient" />
- <add name="test" connectionString="Server=.\SQLEXPRESS;Database=test;User Id=hctest;Password=password;" providerName="System.Data.SqlClient" />
- <add name="db_HarryCorryConnectionString" connectionString="Server=.\SQLEXPRESS;Initial Catalog=db_HarryCorry;User ID=lgn_Harry14Corry4z;Password=tR9Gahek;" providerName="System.Data.SqlClient"/>
- </connectionStrings>
- <appSettings>
- <add key="ConnectionString" value="Server=.\SQLEXPRESS;Initial Catalog=db_HarryCorry;User ID=lgn_Harry14Corry4z;Password=tR9Gahek;Pooling=true;Connect Timeout=30;Max Pool Size=300;" />
- <add key="aps_AttachemntSize" value="2000000" />
- <add key="aps_AttachmentDatabase" value="DatabaseAttachments/" />
- <!-- Numeric Based Constants-->
- <add key="aps_MaxEmail" value="15" />
- <add key="aps_Imagesize" value="4194304" />
- <add key="aps_DocSize" value="4194304" />
- <add key="aps_NoPromoted" value="10" />
- <add key="aps_Author" value="PWR" />
- <!-- Folders -->
- <add key="aps_XML" value="xml/" />
- <add key="aps_HTML" value="html/" />
- <add key="aps_Includes" value="Includes/" />
- <add key="aps_DocumentDatabase" value="DatabaseDocs/" />
- <add key="aps_ImageDatabase" value="DatabaseImages/" />
- <add key="aps_ImageThumbs" value="DatabaseThumbs/" />
- <add key="pPathForUpload" value="catalog\" />
- <!-- WORLD PAY SETUP-->
- <add key="aps_WP_InstallationID" value="146945" />
- <add key="aps_WPSS" value="75c9d58c8709a" />
- <add key="aps_WPResponsePWD" value="DDEvans" />
- <!-- DEV Testing Details Protx-->
- <add key="aps_DevSite" value="" />
- <add key="aps_DevEmail" value="paul.mcgann@thewebbureau.com" />
- <add key="aps_LocalSite" value="http://localhost/" />
- <add key="aps_LiveSite" value="" />
- <!--Email Marketing-->
- <!-- <add key="aps_EmailMarketingSterling" value="3947869a12aa61ca845055784141f0b4" />
- <add key="aps_EmailMarketingEuro" value="e2bcdcfaf40d66808d0aaa7a07f3ea4c" /> -->
- <add key="aps_EmailMarketingSterling" value="552a277fc3f043e1950c71c83b6ce9a5"/>
- <add key="aps_EmailMarketingEuro" value="5504ad92992a5b91989388a442cbe2db"/>
- <add key="aps_EmailMarketingGeneral" value="aa8e069b8708b560ff15ab7e456b4fcf" />
- <add key="aps_MailBuildAPIKey" value="dee3324e82e2a416622c9d586a8271ee" />
- <!-- SMS From-->
- <add key="aps_SMSFrom" value="DemoSMS" />
- <!--Cute Editor-->
- <add key="CuteEditorDefaultFilesPath" value="~/Admin/CuteSoft_Client/CuteEditor" />
- <add key="CuteEditorTempPath" value="~/DataEditorTemp" />
- <!--PayPal Setup-->
- <add key="notify_url" value="https://www.harrycorry.com/PaymentGateway/PayPal/instant_payment_notification.aspx" />
- <add key="return_url" value="https://www.harrycorry.com/PaymentGateway/PayPal/validate.aspx" />
- <add key="cancel_url" value="https://www.harrycorry.com/PaymentGateway/PayPal/validate.aspx" />
- </appSettings>
- <system.webServer>
- <rewrite>
- <rules>
- <rule name="1" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{PATH_INFO}" pattern="careers.php(.*)$" />
- </conditions>
- <action type="Redirect" url="/viewcareers.aspx" redirectType="Permanent" />
- </rule>
- <rule name="2" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{PATH_INFO}" pattern="storelocator.php(.*)$" />
- </conditions>
- <action type="Redirect" url="/store-finder.aspx" redirectType="Permanent" />
- </rule>
- <rule name="3" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{PATH_INFO}" pattern="view_store.php(.*)$" />
- </conditions>
- <action type="Redirect" url="/store-finder.aspx" appendQueryString="false" redirectType="Permanent" />
- </rule>
- <rule name="4" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{PATH_INFO}" pattern="careers_details.php(.*)$" />
- </conditions>
- <action type="Redirect" url="/viewcareers.aspx" appendQueryString="false" redirectType="Permanent" />
- </rule>
- <rule name="5" stopProcessing="true">
- <match url="(.*?)/?index\.php$" ignoreCase="true" />
- <action type="Redirect" url="{R:1}" redirectType="Permanent" />
- </rule>
- <rule name="6" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{PATH_INFO}" pattern="products.php(.*)$" />
- </conditions>
- <action type="Redirect" url="/" appendQueryString="false" redirectType="Permanent" />
- </rule>
- <rule name="7" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{PATH_INFO}" pattern="uploaded/Image/(.*)$" />
- </conditions>
- <action type="Redirect" url="/" appendQueryString="false" redirectType="Permanent" />
- </rule>
- <rule name="8" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{PATH_INFO}" pattern="images/hc-(.*).jpg$" />
- </conditions>
- <action type="Redirect" url="/" appendQueryString="false" redirectType="Permanent" />
- </rule>
- <rule name="Redirect HTTP to HTTPS" stopProcessing="true">
- <match url="(.*)" />
- <conditions>
- <add input="{HTTPS}" pattern="off" />
- </conditions>
- <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
- </rule>
- <!--<outboundRules>
- <rule name="Add the STS header in HTTPS responses">
- <match serverVariable="RESPONSE_Strict_Transport_Security" pattern=".*" />
- <conditions>
- <add input="{HTTPS}" pattern="on" />
- </conditions>
- <action type="Rewrite" value="max-age=31536000" />
- </rule>
- </outboundRules>
- <outboundRules>
- <rule name="Add the STS header in HTTPS responses">
- <match serverVariable="RESPONSE_Strict_Transport_Security" pattern=".*" />
- <conditions>
- <add input="{HTTPS}" pattern="on" />
- </conditions>
- <action type="Rewrite" value="max-age=31536000" />
- </rule>
- </outboundRules>-->
- </rules>
- </rewrite>
- <staticContent>
- <clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00" />
- </staticContent>
- <!-- Ensure the powered by header is not returned -->
- <httpProtocol>
- <customHeaders>
- <remove name="X-Powered-By" />
- <add name="X-Frame-Options" value="SAMEORIGIN" />
- <add name="X-XSS-Protection" value="1; mode=block" />
- <add name="Referrer-Policy" value="no-referrer-when-downgrade" />
- <add name="Content-Security-Policy" value="default-src https: data: 'unsafe-inline' 'unsafe-eval'" />
- <add name="X-Content-Type-Options" value="nosniff" />
- </customHeaders>
- </httpProtocol>
- <!--caching>
- <profiles>
- <add extension=".ashx" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="30.00:00:00" />
- </profiles>
- </caching-->
- <modules>
- <!--<add name="Elmah.ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler"/>-->
- <!-- This is for IIS7+ Integrated mode -->
- <add name="ImageResizingModule" type="ImageResizer.InterceptModule" />
- </modules>
- <security>
- <requestFiltering>
- <verbs>
- <add verb="OPTIONS" allowed="false" />
- <add verb="TRACE" allowed="false" />
- </verbs>
- </requestFiltering>
- </security>
- </system.webServer>
- <system.web>
- <httpCookies httpOnlyCookies="true" />
- <httpRuntime enableVersionHeader="false" maxRequestLength="2097151" requestValidationMode="2.0" />
- <customErrors mode="RemoteOnly" redirectMode="ResponseRewrite" defaultRedirect="/Custom404Errors.aspx">
- <error statusCode="404" redirect="/Custom404Errors.aspx?Code=404" />
- <error statusCode="500" redirect="/Custom404Errors.aspx?Code=500" />
- </customErrors>
- <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" uiCulture="en-GB" />
- <!--<identity impersonate="true" />-->
- <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
- <namespaces>
- <clear />
- <add namespace="System" />
- <add namespace="System.Collections" />
- <add namespace="System.Collections.Specialized" />
- <add namespace="System.Configuration" />
- <add namespace="System.Text" />
- <add namespace="System.Text.RegularExpressions" />
- <add namespace="System.Web" />
- <add namespace="System.Web.Caching" />
- <add namespace="System.Web.SessionState" />
- <add namespace="System.Web.Security" />
- <add namespace="System.Web.Profile" />
- <add namespace="System.Web.UI" />
- <add namespace="System.Web.UI.WebControls" />
- <add namespace="System.Web.UI.WebControls.WebParts" />
- <add namespace="System.Web.UI.HtmlControls" />
- <add namespace="System.Data" />
- <add namespace="System.Drawing" />
- <add namespace="System.IO" />
- <add namespace="System.Data.SqlClient" />
- <add namespace="System.Data.OleDb" />
- <add namespace="System.Drawing" />
- </namespaces>
- <controls>
- <add tagPrefix="cc1" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
- <add tagPrefix="CE" namespace="CuteEditor" assembly="CuteEditor" />
- </controls>
- </pages>
- <httpHandlers>
- <!--<add verb="*" path="/robots.txt" type="HandlerExample.MyHttpHandler" />-->
- </httpHandlers>
- <compilation debug="true" targetFramework="4.0">
- <assemblies>
- <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <add assembly="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- </assemblies>
- </compilation>
- <!--
- The <authentication> section enables configuration
- of the security authentication mode used by
- ASP.NET to identify an incoming user.
- -->
- <authentication mode="Forms">
- <forms defaultUrl="~/Admin/AdminMenu.aspx" loginUrl="~/secureLogin/AdminDefault.aspx" slidingExpiration="true" />
- </authentication>
- <httpModules>
- <!-- UploadModule is optional , for the property Uploader.ShowProgress -->
- <!--<add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor" />-->
- </httpModules>
- <sessionState mode="InProc" cookieless="UseCookies" />
- </system.web>
- <system.net>
- <mailSettings>
- <smtp>
- <network host="smtp.mailgun.org" userName="postmaster@thewebbureau.com" password="9z7yuo0-6l80" />
- </smtp>
- </mailSettings>
- </system.net>
- <location path="Admin">
- <system.web>
- <authorization>
- <allow roles="admin,superuser" />
- <deny users="*" />
- </authorization>
- </system.web>
- </location>
- <location path="Admin/thewebbureau">
- <system.web>
- <authorization>
- <allow roles="superuser" />
- <deny users="*" />
- </authorization>
- </system.web>
- </location>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
- <bindingRedirect oldVersion="4.5.0.0" newVersion="6.0.0.0" />
- </dependentAssembly>
- <dependantAssembly>
- <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
- <bindingRedirect oldVersion="2.0.0.0" newVersion="4.0.0.0" />
- </dependantAssembly>
- </assemblyBinding>
- </runtime>
- <system.webServer>
- <defaultDocument>
- <files>
- <clear />
- <add value="Default.aspx" />
- <add value="Index.htm" />
- <add value="Index.cfm" />
- <add value="Index.shtml" />
- <add value="Index.shtm" />
- <add value="Index.stm" />
- <add value="Index.php" />
- <add value="Index.php3" />
- <add value="Index.asp" />
- <add value="Index.aspx" />
- <add value="Default.htm" />
- <add value="Default.asp" />
- </files>
- </defaultDocument>
- <!--<httpErrors existingResponse="Replace" errorMode="Custom">
- <remove statusCode="500" subStatusCode="-1" />
- <remove statusCode="404" subStatusCode="-1" />
- <error statusCode="404" prefixLanguageFilePath="" path="/Custom404Errors.aspx?Code=404" responseMode="ExecuteURL" />
- <error statusCode="500" prefixLanguageFilePath="" path="/Custom404Errors.aspx?Code=500" responseMode="ExecuteURL" />
- </httpErrors>-->
- <httpErrors errorMode="Detailed"></httpErrors>
- <handlers>
- <add name="Robots" path="robots.txt" verb="*" type="HandlerExample.MyHttpHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" />
- <add name="GoogleProductFeed" verb="GET" path="/google-product-feed.xml" type="TWB.GoogleProductFeed" />
- </handlers>
- </system.webServer>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement