標籤:資料庫程式 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網站