logo
Setting Aspnet_isapi.dll for Wildcard Applications
GiacKhongDaiSu Offline
#1 Đã gửi : 16/08/2014 lúc 03:56:59(UTC)

Danh hiệu: Kê Vương

Gia nhập: 23-01-2011(UTC)
Bài viết: 2,113
Man
Đến từ: HCM

Thanks: 4 times
Được cảm ơn: 300 lần trong 220 bài viết

Some components such as the iFinity URL rewriter require an aspnet_isapi.dll wildcard mapping in order to work. If you are a shared hosting client on a server running IIS 6, please contact support to request assistance with this. Shared hosting clients on servers running IIS 7 or IIS 8 can modify their web.config file as outlined in the steps below.

For a Site Hosted on a Server Running IIS 7 and IIS 8 in Classic Pipeline Mode.
1. Open the web.config file for your site. See How to Access Your Web.Config.
2. Locate the <system.webserver> entry <handlers> section.
3. Add the appropriate entry at the bottom of the list of handlers for your site (.NET 2.0 or .NET 4.0):

Mã:
.NET 2.0
<add responsebufferlimit="4194304" precondition="classicMode,runtimeVersionv2.0,bitness64" allowpathinfo="false" requireaccess="Script" resourcetype="Unspecified" scriptprocessor="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" modules="IsapiModule" type="" verb="*" path="*" name="Wildcard Script Map"/>


Mã:
.NET 4.0
<add name="v40 64 bit Wildcard Script Map" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv4.0,bitness64" />


4. Save the web.config file.

For a Site Hosted on a Server Running IIS 7 or IIS 8 in Integrated Pipeline Mode.
1. Open the web.config file for your site. See How to Access Your Web.Config
2. Locate the <system.webserver> entry <handlers> section.
3. Add in a new attribute for 'modules', so that it says
Mã:
<modules runAllManagedModulesForAllRequests="true">

The runAllManagedModulesForAllRequests attribute may not exist, or it may exist and you just have to change the value from false to true.
4. Save the web.config file.

For a Site Hosted on a Server Running IIS 6
Log onto the dedicated server using Remote Desktop.
Open up IIS by clicking on Start > Administrative Tools > Internet Information Services (IIS) Manager (or Start > Run > inetmgr).
Expand the Web Sites directory.
Right click on the website you are setting this up for and click on Properties.
Click on the Home Directory tab.
Click on Configuration.
Under Application extensions, choose the .aspx extension and click on edit.
Copy the Executable path then click cancel.
Click on Insert, then paste the path that you copied for the executable field.
Uncheck Verify that file exists and then press OK twice.
Ai đang xem chủ đề này?
Guest
Bạn không thể tạo chủ đề mới trong diễn đàn này.
Bạn không thể trả lời chủ đề trong diễn đàn này.
Bạn không thể xóa bài của bạn trong diễn đàn này.
Bạn không thể sửa bài của bạn trong diễn đàn này.
Bạn không thể tạo bình chọn trong diễn đàn này.
Bạn không thể bỏ phiếu bình chọn trong diễn đàn này.

Green-Grey Theme Created by Ingo Herbote (WatchersNET.de)
Powered by YAF | YAF © 2003-2010, Yet Another Forum.NET
Thời gian xử lý trang này hết 0.045 giây.