dasBlog /branches/dasBlog2.3.2/source/newtelligence.DasBlog.Web/Web.config

Language Unknown Lines 240
MD5 Hash 81e33b659a82b479f42b60abdb2c515f
Repository https://dasBlog.svn.codeplex.com/svn View Raw File
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<?xml version="1.0"?>
<configuration>
  <configSections>
    <!-- USED FOR CUSTOM MACROS ONLY
        <section requirePermission="false" name="newtelligence.DasBlog.Macros" type="newtelligence.DasBlog.Web.Core.MacroSectionHandler, newtelligence.DasBlog.Web.Core" /> -->
    <section requirePermission="false" name="newtelligence.ControlImages" type="newtelligence.DasBlog.Web.Core.WebControls.ControlImageModuleSectionHandler, newtelligence.DasBlog.Web.Core"/>
    <section requirePermission="false" name="newtelligence.DasBlog.UrlMapper" type="newtelligence.DasBlog.Web.Core.UrlMapperModuleSectionHandler, newtelligence.DasBlog.Web.Core"/>
    <section requirePermission="false" name="newtelligence.DasBlog.TitleMapper" type="newtelligence.DasBlog.Web.Core.TitleMapperModuleSectionHandler, newtelligence.DasBlog.Web.Core"/>
    <section name="uri" type="System.Configuration.UriSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <section name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection" requirePermission="false" allowLocation="true"/>
    <!-- http compression handler section -->
    <sectionGroup name="blowery.web">
      <section requirePermission="false" name="httpCompress" type="blowery.Web.HttpCompress.SectionHandler, blowery.Web.HttpCompress"/>
    </sectionGroup>
  </configSections>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="FreeTextBox" publicKeyToken="5962a4e684a48b87" culture="neutral"/>
        <bindingRedirect oldVersion="3.0.0.0-3.3.0.22838" newVersion="3.3.0.22838"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <!-- USED FOR CUSTOM MACROS ONLY
    <newtelligence.DasBlog.Macros>
		<add macro="foo" type="FooMacroPlugin.FooMacros,FooMacroPlugin"/>
    </newtelligence.DasBlog.Macros> -->
  <newtelligence.ControlImages>
    <add type="newtelligence.DasBlog.Web.Core.WebControls.ShadowBox" name="shadowbox"/>
  </newtelligence.ControlImages>
  <newtelligence.DasBlog.UrlMapper>
    <add matchExpression="(?&lt;basedir&gt;.*?)/atom\.ashx" mapTo="{basedir}/SyndicationServiceExperimental.asmx/GetAtom?"/>
    <add matchExpression="(?&lt;basedir&gt;.*?)/rss\.as[hp]x" mapTo="{basedir}/SyndicationService.asmx/GetRss?"/>
    <!-- TSC: LINK rewriting -->
    <add matchExpression="LINKRW(?&lt;site&gt;.+).aspx\?(?&lt;param&gt;.+)=(?&lt;value&gt;.+)" mapTo="{site},{param},{value}.aspx"/>
    <!-- TSC: URL rewriting -->
    <!-- (?<basedir>.*?)/(?<site>.*?),(?<param>.*?),(?<value>.+)\.aspx -->
    <add matchExpression="(?&lt;basedir&gt;.*?)/(?&lt;site&gt;.*?),(?&lt;param&gt;.*?),(?&lt;value&gt;.+)\.aspx" mapTo="{basedir}/{site}.aspx?{param}={value}"/>
    <!-- .TEXT archive compatibility -->
    <!-- Translates
				FROM: /blog/archive/2004/07/27/194.aspx
                  TO: /blog/default.aspx?date=2004-07-27
        -->
    <add matchExpression="(?&lt;basedir&gt;.*?)/archive/(?&lt;year&gt;\d{4})/(?&lt;month&gt;\d{2})/(?&lt;day&gt;\d{2})/(?&lt;postid&gt;\d+)\.aspx" mapTo="{basedir}/default.aspx?date={year}-{month}-{day}"/>
    <!-- .TEXT archive compatibility -->
    <!-- ALTERNATIVE: Translates
				FROM: /blog/archive/2004/07/27/194.aspx
                  TO: /blog/permalink.aspx?guid=194
        -->
    <!--
        <add matchExpression="(?&lt;basedir&gt;.*?)/archive/(?&lt;year&gt;\d{4})/(?&lt;month&gt;\d{2})/(?&lt;day&gt;\d{2})/(?&lt;postid&gt;\d+)\.aspx"
            mapTo="{basedir}/permalink.aspx?guid={postid}" />
-->
  </newtelligence.DasBlog.UrlMapper>
  <!-- files not participating in the titlemapper module-->
  <newtelligence.DasBlog.TitleMapper>
    <exclusions>
      <clear/>
      <add path="CaptchaImage.aspx"/>
      <add path="aggbug.ashx"/>
      <add path="blogger.aspx"/>
      <add path="pingback.aspx"/>
      <add path="get_aspx_ver.asp"/>
    </exclusions>
  </newtelligence.DasBlog.TitleMapper>
  <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names),
	     which is necessary for OpenID urls with unicode characters in the domain/host name. 
	     It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. -->
  <uri>
    <idn enabled="All"/>
    <iriParsing enabled="true"/>
  </uri>
  <dotNetOpenAuth>
    <openid>
      <relyingParty>
        <behaviors>
          <!-- Talk Sreg or AX automatically depending on the Provider the user is logging in or commenting with. -->
          <add type="DotNetOpenAuth.OpenId.Behaviors.AXFetchAsSregTransform, DotNetOpenAuth"/>
        </behaviors>
      </relyingParty>
    </openid>
  </dotNetOpenAuth>
  <!-- config section for my http module -->
  <blowery.web>
    <!-- Here's an example on how to change the algorithm or compression level
		<compressionModule preferredAlgorithm="deflate|gzip" compressionLevel="high|normal|low"/>
		so, to use deflate by default, and high compression, you would use the following line
		-->
    <httpCompress preferredAlgorithm="gzip" compressionLevel="high">
      <excludedMimeTypes>
        <add type="image/jpeg"/>
        <add type="image/gif"/>
      </excludedMimeTypes>
      <excludedPaths>
        <add path="WebResource.axd"/>
        <add path="ebResource.axd"/>
      </excludedPaths>
    </httpCompress>
  </blowery.web>
  <system.diagnostics>
    <assert assertuienabled="false"/>
    <switches>
      <add name="OpenID" value="4"/>
    </switches>
    <trace autoflush="true" indentsize="4">
      <listeners>
        <add name="fileLogger" type="System.Diagnostics.TextWriterTraceListener"
             initializeData="openidConsumerTrace.txt" traceOutputOptions="None"/>
      </listeners>
    </trace>
  </system.diagnostics>
  <system.web>
    <!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
          false will improve runtime performance of this application.
          Set compilation debug="true" to insert debugging symbols (.pdb information)
          into the compiled page. Because this creates a larger file that executes
          more slowly, you should set this value to true only when debugging and to
          false at all other times. For more information, refer to the documentation about
          debugging ASP .NET files.
    -->
    <compilation defaultLanguage="c#" debug="true" targetFramework="4.0"/>
    <!--  CUSTOM ERROR MESSAGES
          Set customError mode values to control the display of user-friendly
          error messages to users instead of error details (including a stack trace):

          "On" Always display custom (friendly) messages
          "Off" Always display detailed ASP.NET error information.
          "RemoteOnly" Display custom (friendly) messages only to users not running
          on the local Web server. This setting is recommended for security purposes, so
          that you do not display application detail information to remote clients.
    -->
    <customErrors mode="Off"/>
    <!-- ***IMPORTANT*** If you are using ASP.NET 2.0 to host dasBlog
			                     you must uncomment the httpCookies section below,
			                     as dasBlog was written for ASP.NET 1.1 and will
			                     automatically add the HttpOnly flag to cookies automatically -->
    <!-- <httpCookies httpOnlyCookies="false"/> -->
    <authentication mode="Forms">
      <!-- NOTE: If you want to run MULTIPLE dasBlogs on the SAME Domain Name
           include the path in each blog's Web.Config like path="/dasblog1" and path="/yoursite"
           as appropriate. -->
      <forms name=".DASBLOGAUTH" protection="All" timeout="60" path="/" cookieless="UseCookies"/>
    </authentication>
    <!--
        If your ISP/Hoster supports ASP.NET impersonation, they are likley
        setting this to true in their machine.config. You should not set it to true
        unless you know that dasBlog will have the correct permissions

        <identity impersonate="false" />
        -->
    <httpRuntime useFullyQualifiedRedirectUrl="true" requestValidationMode="2.0"/>
    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page within an application.
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the
          application trace log by browsing the "trace.axd" page from your web application
          root.
    -->
    <trace enabled="false" writeToDiagnosticsTrace="true" requestLimit="1000" pageOutput="false" traceMode="SortByTime" localOnly="false"/>
    <!--  SESSION STATE SETTINGS
          By default ASP .NET uses cookies to identify which requests belong to a particular session.
          If cookies are not available, a session can be tracked by adding a session identifier to the URL.
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"/>
    <!--  GLOBALIZATION
          This section sets the globalization settings of the application.
    -->
    <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
    <pages validateRequest="true" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
    <httpHandlers>
      <add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha"/>
      <add verb="*" path="aggbug.ashx" type="newtelligence.DasBlog.Web.Services.AggregatorBugHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="ct.ashx" type="newtelligence.DasBlog.Web.Services.ClickThroughHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="cptrk.ashx" type="newtelligence.DasBlog.Web.Services.CrosspostReferrerHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="deleteItem.ashx" type="newtelligence.DasBlog.Web.Services.DeleteItemHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="approveItem.ashx" type="newtelligence.DasBlog.Web.Services.ApproveItemHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="cdf.ashx" type="newtelligence.DasBlog.Web.Services.CdfHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="blogger.aspx" type="newtelligence.DasBlog.Web.Services.BloggerAPI, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="pingback.aspx" type="newtelligence.DasBlog.Web.Services.PingbackAPI, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="trackback.aspx" type="newtelligence.DasBlog.Web.Services.TrackbackHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="autoSaveEntry.ashx" type="newtelligence.DasBlog.Web.Services.AutoSaveEntryHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="microsummary.ashx" type="newtelligence.DasBlog.Web.Services.MicrosummaryHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="GET" path="googleSitemap.ashx" type="newtelligence.DasBlog.Web.Services.GoogleSitemapHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="GET" path="timeline.ashx" type="newtelligence.DasBlog.Web.Services.TimelineHandler, newtelligence.DasBlog.Web.Services"/>
      <add verb="*" path="*.blogtemplate" type="System.Web.HttpForbiddenHandler"/>
    </httpHandlers>
    <webServices>
      <protocols>
        <add name="HttpGet"/>
      </protocols>
    </webServices>
    <httpModules>
      <add type="newtelligence.DasBlog.Web.Core.UrlMapperModule, newtelligence.DasBlog.Web.Core" name="UrlMapperModule"/>
      <add type="newtelligence.DasBlog.Web.Core.TitleMapperModule, newtelligence.DasBlog.Web.Core" name="TitleMapperModule"/>
      <add type="newtelligence.DasBlog.Web.Core.ProfileMapperModule, newtelligence.DasBlog.Web.Core" name="ProfileMapperModule"/>
      <add type="newtelligence.DasBlog.Web.Core.WebControls.ControlImageModule, newtelligence.DasBlog.Web.Core" name="ControlImageModule"/>
      <add type="blowery.Web.HttpCompress.HttpModule, blowery.web.HttpCompress" name="CompressionModule"/>
      <add type="newtelligence.DasBlog.Web.Core.IPBlackList, newtelligence.DasBlog.Web.Core" name="IPBlackList"/>
    </httpModules>
    <!-- <xhtmlConformance mode="Legacy"/> -->
  </system.web>
  <system.webServer>
    <defaultDocument enabled="true">
      <files>
        <remove value="default.aspx"/>
        <add value="default.aspx"/>
      </files>
    </defaultDocument>
    <directoryBrowse enabled="false"/>
    <handlers>
      <add name="*.blogtemplate_*" path="*.blogtemplate" verb="*" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="timeline.ashx_GET" path="timeline.ashx" verb="GET" type="newtelligence.DasBlog.Web.Services.TimelineHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="googleSitemap.ashx_GET" path="googleSitemap.ashx" verb="GET" type="newtelligence.DasBlog.Web.Services.GoogleSitemapHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="microsummary.ashx_*" path="microsummary.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.MicrosummaryHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="autoSaveEntry.ashx_*" path="autoSaveEntry.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.AutoSaveEntryHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="trackback.aspx_*" path="trackback.aspx" verb="*" type="newtelligence.DasBlog.Web.Services.TrackbackHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="pingback.aspx_*" path="pingback.aspx" verb="*" type="newtelligence.DasBlog.Web.Services.PingbackAPI, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="blogger.aspx_*" path="blogger.aspx" verb="*" type="newtelligence.DasBlog.Web.Services.BloggerAPI, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="cdf.ashx_*" path="cdf.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.CdfHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="approveItem.ashx_*" path="approveItem.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.ApproveItemHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="deleteItem.ashx_*" path="deleteItem.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.DeleteItemHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="cptrk.ashx_*" path="cptrk.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.CrosspostReferrerHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="ct.ashx_*" path="ct.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.ClickThroughHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="aggbug.ashx_*" path="aggbug.ashx" verb="*" type="newtelligence.DasBlog.Web.Services.AggregatorBugHandler, newtelligence.DasBlog.Web.Services" preCondition="integratedMode,runtimeVersionv2.0"/>
      <add name="CaptchaImage.aspx_GET" path="CaptchaImage.aspx" verb="GET" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" preCondition="integratedMode,runtimeVersionv2.0"/>
    </handlers>
    <modules>
      <add name="UrlMapperModule" type="newtelligence.DasBlog.Web.Core.UrlMapperModule, newtelligence.DasBlog.Web.Core" preCondition="managedHandler"/>
      <add name="TitleMapperModule" type="newtelligence.DasBlog.Web.Core.TitleMapperModule, newtelligence.DasBlog.Web.Core" preCondition="managedHandler"/>
      <add name="ProfileMapperModule" type="newtelligence.DasBlog.Web.Core.ProfileMapperModule, newtelligence.DasBlog.Web.Core" preCondition="managedHandler"/>
      <add name="ControlImageModule" type="newtelligence.DasBlog.Web.Core.WebControls.ControlImageModule, newtelligence.DasBlog.Web.Core" preCondition="managedHandler"/>
      <add name="CompressionModule" type="blowery.Web.HttpCompress.HttpModule, blowery.web.HttpCompress" preCondition="managedHandler"/>
      <add name="IPBlackList" type="newtelligence.DasBlog.Web.Core.IPBlackList, newtelligence.DasBlog.Web.Core" preCondition="managedHandler"/>
    </modules>
    <validation validateIntegratedModeConfiguration="false"/>
  </system.webServer>
</configuration>
Back to Top