網路安全系列之四十三 在IIS6中配置ASP網站

來源:互聯網
上載者:User

標籤:資料庫程式   asp網站   blank   應用程式   網路安全   

本文將介紹如何在Win2003系統中通過IIS6.0來搭建一個ASP網站,網站資料庫採用的是ACCESS,對於這類簡單的小型資料庫,無需安裝資料庫程式,只需直接配置IIS即可。

首先在添加刪除群組件中選擇安裝應用程式伺服器,在安裝過程中需要插入系統安裝光碟片:

650) this.width=650;" style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/53/94/wKioL1Rr89yAfO42AAFiwkGbtEk949.jpg" "449" height="344" />

安裝完成後,開啟IIS管理器,將預設網站停止運行,然後建立一個名為test的網站。

在建立網站時給予運行指令碼許可權。

650) this.width=650;" style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/53/94/wKioL1Rr89_i8b5ZAADK1ZsSdcQ994.jpg" "439" height="338" />

網站建立完成後,佈建網站屬性,啟用父路徑。所謂父路徑也就是在網頁中允許使用“../”來代表上一級父目錄。

650) this.width=650;" style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/53/94/wKioL1Rr8-Pjf2OzAAEHcLbaZa8615.jpg" "402" height="438" />

在Web服務擴充中將Active Server Pages設為允許。

650) this.width=650;" style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/53/94/wKioL1Rr8-PxUFxnAACblSf5q9w389.jpg" "502" height="164" />

將index.asp設為預設首頁

650) this.width=650;" style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/53/96/wKiom1Rr823BsrlRAADQqc8_1sk812.jpg" "482" height="219" />

將南方資料5.0網站解壓到C:\www目錄中,並將C:\www設為網站主目錄。

650) this.width=650;" style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/53/96/wKiom1Rr822BfrTNAAD2pFB--Xg690.jpg" "452" height="243" />

最後訪問網站進行驗證。

650) this.width=650;" style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/53/96/wKiom1Rr83GiWdBnAAGuZqoqqIU249.jpg" "459" height="302" />

網路安全系列之四十三 在IIS6中配置ASP網站

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.