The construction of Web server and the processing of common problems in Win7 environment

Source: Internet
Author: User
Tags file transfer protocol

  absrtact: with the development of computer technology, many schools and home use machines have been updated to configure the Win7 system, how to build a Web server in this environment? Based on years of teaching experience, this paper summarizes the construction of Dynamic Web server and the processing of common problems in Win7 environment.

Key Words: Web Server ; Win7 system ; FAQ

Web server is also known as WWW server, the main function is to provide online information browsing services. A Web server can not only store information, but also enable users to run scripts and programs based on information provided through a Web browser.

Static web site refers to the content of the site "fixed", when the user browser through the Internet HTTP protocol to the Web server to provide Web content, the server is simply the design of the static HTML document is transferred to the user browser. Its page content uses standard HTML code, plus a few animated pictures in GIF format.

Static website is relatively simple to make, but maintenance update is more troublesome, generally need web design and production professionals to better maintain the update. Dynamic website is developed by the use of the program, the use of database functions can be unlimited increase the site data, and generally will develop the site management, maintenance updates convenient, very suitable for people without any technical management site. At present, most websites belong to dynamic websites.

  1 , IIS Introduction to Server Software

The translation of IIS into Chinese is "Internet Information Services". It is a Microsoft-driven server that is fully integrated with Windows Server, enabling users to build robust, flexible, and secure Internet and intranet site sites by leveraging the security features built in to both Window server and NTFS.

IIS supports HTTP (Hypertext Transfer Protocol), FTP (File Transfer Protocol), and SMTP protocol, which can be highly extended by using CGI and Isapi,iis. Another important feature of IIS is the support for ASP. After the release of IIS 3.0, ASP was introduced to make it easy to post dynamic content and develop web-based applications. IIS provides strong local support for applications such as JSCRIPTT, VBSCRIPTT development software, or developed by Visual C + +, visual Basic, Java development systems, and existing CGI and wincgi scripts.

  2 , WIN7 under dynamic website Web steps to build a server

With the development of computer hardware and software, the WIN7 system is basically configured in school and home machine, how to build a Dynamic Web server? The following is an example of how to configure IIS with Windows7 Ultimate configuration.

1) Enter the Windows7 Control Panel and select the turn on or turn off Windows feature on the left.

2) Now that you have the option menu for installing Windows features, note the selected items and need to manually select the required features.

3) After the installation is complete, select system and Security in the Control Panel, select Administrative Tools, select the Internet Information Services (IIS) manager option, and go to IIS settings.

4) Now go to the IIS7 Manager panel. Select default Web Site, and double-click the ASP option.

5) Configure the IIS7 site. You can set the directory for your Web site by clicking the Advanced Settings option on the right. (folder where ASP files are placed)

6) Click on the edit binding on the right, set the port of the website, the default is 80 (can be set to 8081, also can not move).

7) Click the default document, set the default document for the site, and add index.asp. (That is, the default home page file.) )

8) The directory of the Web site also allows others to access, that is, to set the site directory and system disk under Windows The properties of the Temp directory (you can set the directory's access account everyone to Full Control permissions).

9) WIN7 The ASP Parent path under IIS is not enabled by default, to turn on the parent path, select True. Select the Debug property to send the error to the browser, set to True.

10) test on this machine. Enter Address: http://localhost:8081 or http://localhost.

11) Other computers to access your server, but also in the Windows Firewall settings. In the Control Panel, select the Allow program under Windows Firewall to add the Web Management Service (HTTP) to the hook through the firewall feature. and the World Wide Web Service (HTTP). Input tests such as: http://192.168.3.78.

  3 , the solution of common problems

3.1 Error types

Microsoft OLE DB Provider for ODBC Drivers (' 0x80004005 '), [microsoft][odbc Microsoft Access Driver]microsoft The Jet database engine cannot open the file ' (unknown) '. It has been opened exclusively by another user, or does not have permission to view the data.

Processing method:

First: Right click on the site Directory, under the Security tab, click "Add ...", jump out of the "Select Users and Groups" dialog box, and set the access rights of the account everyone to full control.

Second, use the same method to add C:\Windows\Temp, adding the Full Control permission for everyone.

3.2 Error description

Configure the IIS home directory and the default document, where there is an error in the config file.

Processing method:

Method One: This is your site directory in the FAT32 format of the drive letter, the content of the site directly copied to the NFTS format of the letter, re-add the site in IIS, and then add the default document will not appear this problem.

Method Two: Re-create a new config file to the site directory.

E:\myweb\ directory new text document Save as Web. config content is:

< XML version= "1.0" encoding= "UTF-8"?>
< configuration>
<system.webServer>
<defaultDocument>
<files>
<add value= "index.asp"/>
</files>
</defaultDocument>
</system.webServer>
</configuration>

3.3 Error description

HTTP Error 404.3–not Found, the page you requested could not be supplied due to an extended configuration issue. If the page is a script, add a handler. If you should download the file, add a MIME map.

Processing method:

Open the program in Control Panel, select "Turn Windows features on or off" in programs and features, locate Internet Information Services-World Wide Web services-application development features, tick the ASP folder and the ISAPI extension folder.

The construction of Web server and the processing of common problems in Win7 environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.