hướng dẫn tạo localhost IIS từ A qua X, Y đến Z
Quan trọng nhất bạn phải có 1 đĩa win nha, hok có thì thôi, miễn cài lun!!!
Dưới đây là từng bước cài đặt IIS trong Windows XP:
Vào Control Panel -> Add or Remove Programs.
Chọn Add/Remove Windows Components.
Chọn Internet Information Services (IIS) -> Chọn nút Detail ở phía
dưới để chọn các thành phần chi tiết cần cài đặt -> Chọn tất cả ->
OK
Nhấn nút Next để tiếp tục.
Đưa đĩa cài đặt của Windows XP để hệ thống cài đặt.
Nhấn nút Finish để kết thúc việc cài đặt IIS trên Windows XP.
Vào Control Panel -> Administrative Tools, nếu thấy xuất hiện biểu
tượng có chữ Internet Information Services -> Việc cài đặt thành công
Dưới đây là từng bước cài đặt thư mục ứng dụng [You must be registered and logged in to see this link.] (Virtual Directory) trong IIS trên Windows XP:
Vào Control Panel -> Administrative Tools.
Chọn Internet Information Services (IIS) Manager.
Chọn [You must be registered and logged in to see this link.] Site -> Default [You must be registered and logged in to see this link.] Site -> Kích chuột phải chọn New -> Virtual Directory -> Next.
Nhập tên [You must be registered and logged in to see this link.] site cần tạo (Alias), ví dụ: MyASPNET -> Next.
Trỏ đến thư mục chứa [You must be registered and logged in to see this link.] site trên đĩa cứng -> Next.
Thiết lập quyền hạn để truy xuất [You must be registered and logged in to see this link.] site
Read (Cho phép truy xuất đến [You must be registered and logged in to see this link.] site, tùy chọn này luôn luôn được chọn)
Run Script (Cho phép chạy các script phía [You must be registered and logged in to see this link.] như: asp, asp.net, ...)
Exexcute (Cho phép các ứng dụng hay các lệnh ISASP và CGI thực thi ngay trên máy chủ [You must be registered and logged in to see this link.])
Write (Nếu như [You must be registered and logged in to see this link.] site có chức năng upload, ghi dữ liệu, ...)
Browse (Cho phép người sử dụng thấy được sơ đồ tổ chức cây thư mục.)
Next -> Finish.
Đã xong, bây giờ bạn đã có thể test code ASP/ASP.NET ngay trên máy giống php rùi....