Anasayfa     Güncel Sürüm   BlogEngineTR Ağı   Bize Destek Olun   Forum   Wiki   Eklentiler   Temalar   BasIn Bülteni   Arşiv   İletişim

IIS 7.0 ile ilgili BlogEngine sorunu

5. Aralık 2008 00:52 tarihinde Kaan BAŞLI tarafından BlogEngine.NET kategorisinde yazılmıştır.

     Geçenlerde hostumun bulunduğu sunucunun işletim sistemi Windows Server 2003'den Windows Server 2008'e yükseltilince haliyle IIS 6.0'dan IIS 7.0'a güzel bir geçiş yaptık. Fakat bu benim için biraz sancılı başladı. Çünkü BlogEngine sistemi IIS 7.0'nin getirdiği Integrated Mode uygulamasına uyumlu değildi. Çözümü buldum fakat biraz uzun sanırım.(http://www.codeplex.com/blogengine/Thread/View.aspx?ThreadId=21124)

     Eğer IIS 7.0 altında çalışacaksanız değişikliği yapmanız gerekecek tek dosya web.config.
   
     Dosyayı açıp </system.web> tagını bulun ve altına aşağıdaki kodları ekleyin :
   
     Not : Plesk panel kullanıcılar için gerekli kodları da içermektedir. Kullanmıyorsanız silebilirsiniz. Kodlar belirtilmiştir.

  <system.webServer>
       <
validation validateIntegratedModeConfiguration="false" />
              <
modules>
                     <
add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite" preCondition="managedHandler" />
                     <
add name="ReferrerModule" type="BlogEngine.Core.Web.HttpModules.ReferrerModule" preCondition="managedHandler" />
                     <
add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule" preCondition="managedHandler" />
                     <
add name="WwwSubDomainModule" type="BlogEngine.Core.Web.HttpModules.WwwSubDomainModule" preCondition="managedHandler" />
                     <!--
The CleanPageModule below removes whitespace which makes the page load faster in IE. Enable at own risk -->
                     <!--
<add name="CleanPageModule" type="BlogEngine.Core.Web.HttpModules.CleanPageModule, BlogEngine.Core"/>-->
                     <!--
Remove the default ASP.NET modules we don't need-->
                     <
remove name="Profile" />
                     <
remove name="AnonymousIdentification" />
             </
modules>
             <
handlers>
                      <
clear />
                      <
add name="FileHandler" path="file.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.FileHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="ImageHandler" path="image.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.ImageHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="SyndicationHandler" path="syndication.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.SyndicationHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="SiteMap" path="sitemap.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.SiteMap, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="TrackbackHandler" path="trackback.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.TrackbackHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="PingbackHandler" path="pingback.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.PingbackHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="OpenSearchHandler" path="opensearch.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.OpenSearchHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="MetaWeblogHandler" path="metaweblog.axd" verb="*" type="BlogEngine.Core.API.MetaWeblog.MetaWeblogHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="RsdHandler" path="rsd.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.RsdHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="CssHandler" path="css.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.CssHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="JavaScriptHandler" path="js.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.JavaScriptHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="RatingHandler" path="rating.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.RatingHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="OpmlHandler" path="opml.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.OpmlHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="MonsterHandler" path="monster.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.MonsterHandler, BlogEngine.Core" resourceType="Unspecified" />
                      <
add name="BlogMLExportHandler" path="blogml.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.BlogMLExportHandler, BlogEngine.Core" resourceType="Unspecified" />      
                      <!--
BURASI PLESK KULLANANLAR İÇİN GEÇERLİ-->

                      <add name="rules-Integrated" path="*.rules" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="Plesk_Handler_0110051027" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
                      <
add name="xoml-Integrated" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="Plesk_Handler_0110051029" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
                      <
add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
                      <
add name="Plesk_Handler_0110051038" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
                      <
add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" resourceType="Unspecified" />
                      <
add name="Plesk_Handler_0110051042" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
                      <
add name="Plesk_Handler_0110051043" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
                      <
add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" />
                      <!--
PLESK KULLANICILARININ YAZMASI GEREKEN BU KADAR-->

            </handlers> 
</system.webServer>

    İsterseniz ekteki dosyayı da kullanabilirsiniz.

    Hoşçakalın. 

web.config.rar (3,46 kb)

Bu yazıyı diğer sitelerde paylaş

Etiketler: , , , ,

Yorumlar


Yorum ekle


 

  Country flag ( Kendi Siteme Nasıl Ekleyebilirim? )

biuquote
  • Yorum
  • Canlı önizleme
Loading