PageRenderTime 22ms CodeModel.GetById 13ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/pigeoncms/Web.config.original

http://pigeoncms.googlecode.com/
Unknown | 210 lines | 206 code | 4 blank | 0 comment | 0 complexity | eacefec99a7a7ae0df3418e89525db9a MD5 | raw file
  1<?xml version="1.0"?>
  2<configuration>
  3	<configSections>
  4		<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  5			<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  6				<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
  7				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
  8					<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
  9					<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
 10					<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
 11					<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
 12				</sectionGroup>
 13			</sectionGroup>
 14		</sectionGroup>
 15	</configSections>
 16	<connectionStrings>
 17		<add name="ConnStringExample" connectionString="Data Source=123.456.789.123;Initial Catalog=yourdb;Persist Security Info=True;User ID=youruser;Pwd=yourpwd" providerName="System.Data.SqlClient"/>
 18		<add name="ConnStringExpressExample" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=yourdb;Persist Security Info=True;User ID=youruser;Pwd=yourpwd" providerName="System.Data.SqlClient"/>
 19  </connectionStrings>
 20
 21	<appSettings>
 22		<add key="ConnectionStringName" value="ConnStringExample"/>
 23		<add key="ProviderName" value="System.Data.SqlClient"/>
 24		<add key="TabPrefix" value="pgn_"/>
 25		<!--pgn_|pcms_|...-->
 26		<add key="ModulesPath" value="~/Modules/"/>
 27		<add key="InstallationPath" value="~/Installation/"/>
 28		<add key="ItemsPath" value="~/Items/"/>
 29		<add key="MasterPagesPath" value="~/Masterpages/"/>
 30		<add key="DocsPublicPath" value="~/public/Docs/"/>
 31		<add key="SessionTimeOutUrl" value="~/Default.aspx?act=timeout"/>
 32		<add key="defaultCacheValue" value="60"/>
 33		<add key="CultureDefault" value="it-IT"/>
 34		<add key="FCKeditor:UserFilesPath" value="~/public/UploadFCK/UserFiles/"/>
 35		<add key="FCKeditor:BasePath" value="~/Plugins/FCKeditor/"/>
 36	</appSettings>
 37
 38	<system.web>
 39		<machineKey
 40			validationKey="3537A82833A918BAE9534AE44F8740A90C1B3FB31837E2088475FCDB7443AE7AA63495463E2EA17C7A48C9422F0A0FFEA3F1AB007489B03EE5790D15FBD86E8F"
 41			decryptionKey="A077DBEA5222FEFF9DDE32EAD9E601C1BA178F403B5655D2CEE081021AA455BE"
 42			validation="SHA1" decryption="AES" />		
 43		<globalization enableClientBasedCulture="true" culture="auto" uiCulture="auto"/>
 44		<customErrors mode="On" defaultRedirect="~/pages/error.aspx">
 45			<!--<error statusCode="403" redirect="NoAccess.aspx" />-->
 46			<error statusCode="404" redirect="~/pages/pageNotFound.aspx"/>
 47			<!--<error statusCode="500" redirect="~/pages/serverError.aspx"/>-->
 48			<!--see 
 49			http://geekswithblogs.net/shahed/archive/2007/10/23/116278.aspx
 50			http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=497 -->
 51		</customErrors>
 52		<sessionState timeout="30" mode="InProc"/>
 53		<trace enabled="true"/>
 54		<pages maintainScrollPositionOnPostBack="true" theme="default">
 55			<namespaces>
 56				<clear/>
 57				<add namespace="System"/>
 58				<add namespace="System.Collections"/>
 59				<add namespace="System.Collections.Generic"/>
 60				<add namespace="System.Collections.Specialized"/>
 61				<add namespace="System.Configuration"/>
 62				<add namespace="System.Text"/>
 63				<add namespace="System.Text.RegularExpressions"/>
 64				<add namespace="System.Linq"/>
 65				<add namespace="System.Xml.Linq"/>
 66				<add namespace="System.Web"/>
 67				<add namespace="System.Web.Caching"/>
 68				<add namespace="System.Web.SessionState"/>
 69				<add namespace="System.Web.Security"/>
 70				<add namespace="System.Web.Profile"/>
 71				<add namespace="System.Web.UI"/>
 72				<add namespace="System.Web.UI.WebControls"/>
 73				<add namespace="System.Web.UI.WebControls.WebParts"/>
 74				<add namespace="System.Web.UI.HtmlControls"/>
 75			</namespaces>
 76			<controls>
 77				<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 78				<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 79			</controls>
 80		</pages>
 81		<compilation debug="true" strict="false" explicit="true">
 82			<assemblies>
 83				<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 84				<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 85				<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 86				<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 87				<!--<add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>-->
 88				<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 89				<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 90			</assemblies>
 91		</compilation>
 92		<httpHandlers>
 93			<remove verb="*" path="*.asmx"/>
 94			<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 95			<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"/>
 96			<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"/>
 97			<add verb="*" path="pages/*.aspx" type="PigeonCms.PagesUrlRewrite"/>
 98			<add verb="GET" path="Handlers/CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" />
 99		</httpHandlers>
100		<httpModules>
101			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
102			<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
103		</httpModules>
104		<authentication mode="Forms">
105			<forms name="form1" loginUrl="~/pages/admin.aspx" 
106				   protection="All" timeout="30" slidingExpiration="true"></forms>
107		</authentication>
108		<authorization>
109			<allow users="*"/>
110		</authorization>
111		<membership defaultProvider="PgnUserProvider" userIsOnlineTimeWindow="15">
112			<providers>
113				<clear/>
114				<add name="PgnUserProvider" type="PigeonCms.PgnUserProvider"
115                connectionStringName="ConnStringExample" applicationName="PigeonCms"
116                enablePasswordRetrieval="false" enablePasswordReset="true" minRequiredPasswordLength="6"
117                requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
118                passwordFormat="Clear" />
119			</providers>
120		</membership>
121		<roleManager defaultProvider="PgnRoleProvider" enabled="true" cacheRolesInCookie="true">
122			<providers>
123				<add name="PgnRoleProvider" type="PigeonCms.PgnRoleProvider"
124                connectionStringName="ConnStringExample" applicationName="PigeonCms" />
125			</providers>
126		</roleManager>
127	</system.web>
128	<location path="Admin">
129		<system.web>
130			<pages theme="adminDefault"></pages>
131			<authorization>
132				<allow roles="admin,backend"></allow>
133				<deny users="*"/>
134			</authorization>
135		</system.web>
136	</location>
137	<location path="Installation">
138		<system.web>
139			<pages theme="adminDefault" masterPageFile="~/Masterpages/TemplateInstallation.master"></pages>
140		</system.web>
141	</location>
142	<location path="Private">
143		<system.web>
144			<authorization>
145				<deny users="?"/>
146			</authorization>
147		</system.web>
148	</location>
149	<location path="Ws">
150		<system.web>
151			<webServices>
152				<protocols>
153					<add name="HttpPost" />
154				</protocols>
155			</webServices>
156		</system.web>
157	</location>
158	<system.webServer>
159		<validation validateIntegratedModeConfiguration="false"/>
160		<modules>
161			<remove name="ScriptModule"/>
162			<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
163			<remove name="UrlRoutingModule"/>
164			<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
165		</modules>
166		<handlers>
167			<remove name="WebServiceHandlerFactory-Integrated"/>
168			<remove name="ScriptHandlerFactory"/>
169			<remove name="ScriptHandlerFactoryAppServices"/>
170			<remove name="ScriptResource"/>
171			<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"/>
172			<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"/>
173			<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"/>
174			<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
175			<add name="CaptchaImage" path="Handlers/CaptchaImage.aspx" verb="*" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" resourceType="Unspecified" preCondition="integratedMode" />
176		</handlers>
177	</system.webServer>
178	<system.codedom>
179		<compilers>
180			<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
181				<providerOption name="CompilerVersion" value="v3.5"/>
182				<providerOption name="WarnAsError" value="false"/>
183			</compiler>
184			<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
185				<providerOption name="CompilerVersion" value="v3.5"/>
186				<providerOption name="OptionInfer" value="true"/>
187				<providerOption name="WarnAsError" value="false"/>
188			</compiler>
189		</compilers>
190	</system.codedom>
191	
192	<runtime>
193		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727"><dependentAssembly>
194				<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
195				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
196			</dependentAssembly>
197			<dependentAssembly>
198				<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
199				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
200			</dependentAssembly>
201		</assemblyBinding></runtime>
202
203	<system.web.extensions>
204		<scripting>
205			<webServices>
206				<jsonSerialization maxJsonLength="50000000"/>
207			</webServices>
208		</scripting>
209	</system.web.extensions>	
210</configuration>