IIS-based WEB server build

  
                  Introduction

I have found that more and more people like the network, they actively learn network technology: network structure, network component technology, TCP/IP, etc... but with little benefit, what is the reason ? The reason is very simple, they didn't go to practice. More and more people like

on the network, they have released their own home pages, these pages shortage of exciting to make, which also use a variety of techniques, FLASH, JavaScript, Vbscript, Java Applet, etc. Wait. But they can't learn some basic things about the network. They don't know how their website or web page is running. How to transfer it. //This article comes from the computer software and hardware application network www.45it.com reproduced please specify
In order to uncover these secrets, we first learn from the construction of the website, learn how to make your website or web page published to our Internet in. I hope this article can play a valuable role ......

Abstract

This paper describes the now popular IIS shelf technology to build one of the WEB server, from which you can get How to create a server on your own machine to simulate a real server, you can also apply the operating technology on a real server, and you will get the full IIS technology guide.

Overview

network services now mostly WORLD WIDE WEB services, HTTP services, which we are familiar. In order to provide such services, we have to set up a server to provide services. In general, the part of the website we use to build WEB is IIS or Apache. The former is a Microsoft product. As long as you have the Windows2K (or WinXP pro) series, you can get it. We can set up IIS+ASP+CGI+PERL or PHP+MYSQL. The Apache server is derived from the WEB server project of the National Super Technology Computing Application Center (NCSA). With it, we can build the following server Apache+MYSQL (more applications in Linux). Here we explain the establishment of the IIS server. (APACHE is the reason why I do not speak because I have to assume that you will operate LINUX /UNIX and MYSQL, but this is a tall order.)

IIS installation

installation of IIS The premise is that you must have WIN2K, no matter what version of Pro, XOR Servers, Advanced Server. If the latter two, then you are fortunate that you can skip this part. Because it is already installed for you on the system.

steps are as follows :( Administrator account to log on to the server or on your machine)

1. Open the Control Panel - & gt; Add /Remove Programs - & gt; Add /Remove Windows Components, The system displays the Windows Component Wizard after initialization.

2. Select the items you need to install the Windows Components Wizard in, where Internet Information Services (IIS) is what we want to install it on the election. Then choose the other you need, but for us it is not necessary.

3. Click Next, the system will start the installation and configuration of IIS. You need the WIN2K installation disk during the installation process.

4. When the system configuration is complete, you will be in the Control Panel - & gt; management tools see "Internet Services Manager" item, at this time, you have successfully installed. Otherwise please try again.

IIS disposed substantially

1. Start Internet Service Manager

control panel - & gt; management tool - & gt; Internet Service Manager
< BR> 2. connect to the WEB server

Internet information services will connect to the default Web server startup. However, it can be managed by connecting to any IIS server on the network in the Internet Service Manager. The operation is as follows: Operation\\Connection Enter the WEB server host name, IP address or NetBIOS name in the computer name to confirm.

3. start, stop, and pause services

(1) In Internet Services Manager, select the desired start, stop, and pause the service, select 'Start Service in the' Properties' in ', 'Terminate service' or 'suspend service'.

(2) IIS Admin Svervice operation in the system, should be noted here that this operation or cause the cessation of other services, such as FTP.

IIS settings

us in terms of its configuration now. Due to space limitations, we only discuss the more important options, and the simple options are omitted.

1. "Web Site" tab

(1) identifies

Web site www server Enter the IP address in the description. Select Advanced You can set multiple IPs, which means your machine can be used as several servers. Enter the port of the www server you provided in the TCP port. The default is 80. We generally do not change it. If you experiment IIS on your local machine enter 127.0.0.1
2. "Performance" tab, you can set

affect memory and bandwidth usage of the property. (Please set up their own, relatively simple)

3. "ISAPI Filter" tab

ISAPI filter when responding to an HTTP server receives the request WEB program, with the application The difference is that the WEB server time is driven instead of the client request driver. The ISAPI filter can be associated with a specific web server, after which the filter will be notified each time an associated event occurs. (Abbreviated set)

4. "Main Directory" tab

This tab used to configure www home location server of the content and the like.

(1) the position of the home directory specified. That is the source of content such as the home directory location of your www server.

directory on this computer: Indicates information dissemination to local directory. The default is SYSTEMROOT \\ Input \\ wwwroot (SYSTEMROOT letter represents the installation of the operating system.) A share located on another computer

: edge type information released from the shared directory on the other computer. Such as a shared directory in the local area network.

redirected to the URL: URL requesting browser will turn to another new URL, but FTP directory, can not be redirected.

(2) File Access property is set

Script Source Access: Allows users to access has been set up "to read" or "write" permission of the source code, including scripts ASP applications.

read: allow users to read or download or directories and their associated properties.

write: allows users to file documents and their associated properties have been uploaded to the server only use the directory, or change the contents of the file can be rewritten. The "write" operation can only be performed in a browser that supports the PUT function of the HTTP 1.1 protocol standard.

Directory Browsing: Enables users to view a hypertext listing of the files and subdirectories in the virtual directory's.

log access: access to the directory can be recorded in the log file. Access is only recorded if the log of the WEB site is used.

Index this resource: allow Microsoft Indexing Server in the directory that contains the full-text index WEB site.

(3) application settings

execute license: What level of decision to allow WEB site or virtual directory resources program ??? no: allow access only to static files into HTML or Image file.

Scripts: Only run scripts, such as ASP script.

scripts and executables: You can access or perform various file types.

protection applications: Select protection mode to run the application.

Low: running and the IIS WEB services in the same process.

: Run with other applications in a separate public process.

High: run with various other independent processes.

"Configuration" allows you to be able to resolve more of IIS scripts. It will be described later.

5. "Documents" tab

(1) Enable default document at any time

Select this option to request specifying the document name in the browser to provide a default document. The default document can be the home page of the directory or an index page containing a list of site document directories.

(2) Enable document footer

Select this option can automatically append a footer to each HTML-formatted document sent by the WEB server. The footer file is not a complete HTML document, it only contains HTML tabs that are used to format the footer content and look and feel.

6. "Directory Security" tab

(1) anonymous access and authentication control.

Anonymous Access: Allows any user to access, query the user name and password.

basic authentication: the user is prompted to enter a user name and password, sent over the network "unencrypted."

Integrated Windows Authentication: using a hashing technology to identify users, rather than actually sending the password over the network.

during the installation of IIS, the installer automatically creates an Internet Guest account IUSER_HOSTNAME, used as the default anonymous login account. In general, the "basic authentication" method is not recommended because the basic authentication method uses a clear text to pass the username and password on the network, which is easily intercepted by hackers.

(2) IP address and domain name restrictions

set restrictions on www network client access server, providing or block specific users from accessing this WEB site, directory, or file.

(3) arranged secure communication. //This article comes from the computer software and hardware application network www.45it.com reproduced please specify
You must install a valid server certificate to use this option.

7. "HTTP header" tab

slightly

8. "Custom Error Messages" tab

slightly

9. "server extensions" tab
(2) other

connections and logs we keep the default. I will explain it a bit here.
Copyright © Windows knowledge All Rights Reserved