Win2008 的iis設定問題



贊助商連結


shung0116
2009-06-03, 07:19 PM
請教各位前輩
這是在win2008安裝設定awstats後,瀏覽網址http://localhost/cgi-bin/awstats.pl?config=tool時,為什麼會出現下列的錯誤訊息呢?

HTTP 錯誤 404.3 - Not Found
因為網頁伺服器上設定的多用途網際網路郵件延伸標準 (MIME) 對應原則,而無法提供您要求的網頁。如果此網頁為指令碼,請新增處理常式,而且如果它是應該要下載的檔案,請新增 MIME 對應。


煩請各位前輩指點
謝謝

贊助商連結


mis339
2009-06-04, 12:00 AM
連結修正一下吧,另外,是啥錯誤訊息啊?

rogershu
2009-06-04, 12:22 AM
請教各位前輩
這是在win2008安裝設定awstats後,瀏覽網址http://localhost/cgi-bin/awstats.pl?config=tool 時,為什麼會出現下列的錯誤訊息呢?

HTTP 錯誤 404.3 - Not Found
因為網頁伺服器上設定的多用途網際網路郵件延伸標準 (MIME) 對應原則,而無法提供您要求的網頁。如果此網頁為指令碼,請新增處理常式,而且如果它是應該要下載的檔案,請新增 MIME 對應。


煩請各位前輩指點
謝謝


原po的問題怎麼不見了?

引言時會出現?

還沒七月,別嚇我喔:king:

tvirus
2009-06-04, 12:49 AM
404 not found...
路徑有錯了吧?
有設了alias?還是啥的?

pcboy
2009-06-06, 08:00 PM
localhost 是 "本機"
貼這種網址沒有意義,只有當事人看得到

mis339
2009-06-06, 11:28 PM
他要問的應該是


請教各位前輩
這是在win2008安裝設定awstats後,為什麼會出現下列的錯誤訊息呢?

HTTP 錯誤 404.3 - Not Found
因為網頁伺服器上設定的多用途網際網路郵件延伸標準 (MIME) 對應原則,而無法提供您要求的網頁。如果此網頁為指令碼,請新增處理常式,而且如果它是應該要下載的檔案,請新增 MIME 對應。

煩請各位前輩指點
謝謝

shung0116
2009-06-25, 08:21 PM
問題已解決
-->重新安裝新版的Active Perl 即可
謝謝

shung0116
2009-07-18, 02:52 PM
請教各位前輩 是否有遇過使用awstats 偶爾都會跑出下列的錯誤訊息
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file C:/inetpub/logs/LogFiles/W3SVC1/u_extend1.log must have a bad format or LogFormat parameter setup does not match this format.

Your AWStats LogFormat parameter is: 2
This means each line in your web server log file need to have "MSIE Extended W3C log format" like this:
date time c-ip c-username cs-method cs-uri-sterm sc-status sc-bytes cs-version cs(User-Agent) cs(Referer)

And this is an example of records AWStats found in your log file (the record number 50 in your log):
2009-07-17 13:11:18 GET /icon/mime/archive.png - - ::1 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+WOW64;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.21022;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) http://localhost/cgi-bin/awstats.pl?month=06&year=2009&output=main&config=tool&framename=mainright 200 641


Setup ('C:\inetpub\wwwroot\cgi-bin/awstats.tool.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

我試著將設定檔的LogFormat調整1/2/3/4,但是結果卻還是一樣
謝謝