瀏覽模式: 普通 | 列表
當瀏覽網頁時,出現
500 - 內部伺服器錯誤。
您要尋找的資源有問題而無法顯示。

方向

1。控制台 > 網際網路選項 > 進階 > 顯示易懂的 HTTP 錯誤訊息 > 打勾取消

2。IIS7 > 站台 > ASP > 偵錯內容 > 將錯誤傳送到瀏覽器 > true

以上僅限於近端
標籤: iis iis7 500 錯誤

Windows 系統管理:為您的伺服器把脈

當 Windows 慢、負載高,

可以參考 http://technet.microsoft.com/zh-tw/magazine/2008.08.pulse.aspx 診斷問題

使用指令方式佈署IIS

建立虛擬目錄

cscript /nologo C:\Inetpub\AdminScripts\adsutil.vbs CREATE  W3SVC/1/ROOT/cross "IIsWebVirtualDir"

給於虛擬目錄路徑

cscript /nologo C:\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/1/ROOT/cross/PATH "C:\123"

刪除虛擬目錄

iisvdir /delete W3SVC/1/ROOT/cross



參考: http://www.dotblogs.com.tw/petedotnet/archive/2010/10/26/deploywebsiteusingcommandline.aspx

IIS假死的原因和處理方法

發表時間:2008年12月29日 14:14

本文地址:http://qzone.qq.com/blog/8522106-1230531249

打開IIS 你就會看到應用程序池,默認只有一個應用程序池,查看應用程序池的屬性,會發現他的回收時間,默認多達,1740分鐘,就是說,需要在1740分鐘后才回收此應用程序池,如果在這個時間內,達到請求的最高限制,那麼就會出現ASP假死的情況,這個就是大型網站出現假死的情況,反而,小型網站确不會出現這樣的情況,因為他請求少,流量少,還沒達到限制數量。當然要看你的服務器上網站數目而定。

以下是解決方法:

資料一

單個網站解決方法:

把應用程序池回收時間縮短到300-600分鐘,其間回收過程中,需要占用一點CPU資源,沒辦法,為了穩定性,再把回收時間設為凌晨5點。

多網站解決方法:

[閱讀全文]

給 Windows 用的,類似 Apache 的 mod_rewrite

Helicon 出的 ISAPI_Rewrite,它有 lite 免費版

http://www.isapirewrite.com/

ISAPI_Rewrite Lite

This is simplified edition of ISAPI_Rewrite. It does not support per-virtual-site configurations, proxiing, metabase monitoring and automatic cache cleanup but all other features are supported. ISAPI_Rewrite Lite is completely FREE! It may be an ideal solution for the server hosting the only site, development or testing purposes.

它有一些限制 http://www.helicontech.com/isapi_rewrite/doc/litever.htm

Lite version limitations

Lite version of ISAPI_Rewrite shares the same rewrite engine and features but with the following limitations:

    * No support for distributed .htaccess configurations, directory and web site level configurations. Only one global httpd.conf configuration file will be loaded from Lite version installation folder.
    * No support for <VirtualHost>, <Directory>, <DirectoryMatch>, <Files>, <FilesMatch>, <Location> and <LocationMatch> tags.
    * There is no proxy module in Lite version, thus all proxy related functions like RewriteProxy directive and [P] flag will be ignored.
    * No manual installation package for Lite version to install in a shared hosting environment.

ISAPI_Rewrite Lite is completely free and it is a good solution for development or testing purposes and for small servers that host only a few web sites and don’t require distributed configurations or proxy functions.

還有一個免費的,就是 Ionic's ISAPI Rewrite Filter - IIRF

[閱讀全文]

標籤: iis rewrite

在 IIS 上安裝 awstats 流量統計

1) 安裝 Windows 2003 + IIS 6
2) 安裝 ActivePerl-5.8.8.822-MSWin32-x86-280952.msi,就只是下一步下一步
attachments/200801/5533483808.jpg

[閱讀全文]

iisapp 列出執行中的網頁應用程式 (iis pool)

iisapp -a


可以得知 w3wp.exe、pid、那個 pool

標籤: iis pool iis pool iisapp