ASP operation environment

xiaoxiao2021-03-06  46

?? First select the operating system. Since the ASP belongs to MS (Microsoft), we have to choose the MS operating system, Windows? 98 or more (Windows? ME and Windows? XP? Home is not line). ?? Then it is to build a personal web server (Personnel? Web? SERICE), which is to be based on the operating system. The configuration is this: WIN98 PWS (Personnel? Web? SERICE) / Win2000? PRO IIS (Internet? INFORMATION? SERICE) / WIN2000? Server IIS (Win2000? Server? IIS is the default installation) / Win2000? Advance? Server IIS (here IIS is also the default installation) / WinXP IIS / Win2003 IIS. See how to install and configure PWS / IIS below. ?? First, PWS installation and configuration: PWS is included in the Win98 specialist disc, you can also find download online, then click Install, not much to say it is installed, following other software installations. After installation, there will be a "release" icon on the Win98 desktop. There is also an icon next to the Task Bar Clock. At the beginning -> program? This is PWS, no matter which place you start it. Yes, the default status is started after installation. Click to open. Here we have a few items to be set. First set the primary directory, in "Advanced", select the primary directory for settings, default is in x: / inetpub / wwwroot (x: Representation system disk), you can make changes, change to the directory you want. Set up a document again, this is the file name you open by your own site by default. Insior usually have default.html and default.asp, but generally we are used to using index.asp and index.htm as the home page name, so we have to add index.asp and index.htm. Now we set the virtual directory, click on "Virtual Directory", give a virtual directory, a comparative name, such as your ASP program is a forum program, named BBS (case, do not distinguish, do not use Chinese naming), This name is named, then select the path to the virtual directory, you choose the path where your own program is located, for example:? D: / my forum / BBS /. In this way, we are based on the basic configuration. Now you can browse your ASP file in IE. Open IE, type in the address bar: http: // xxx (your computer name or 127.0.0.1 or localhost) / xxxxx (your virtual directory name, that is, you are setting up the virtual directory, if If you put it under x: / inetpub / wwwroot, you don't have a virtual directory) / wwww (file name, if it is default.asp / default.html / index.htm / index.asp) file names can also be omitted). If your ASP file has an error, IE will report an error. ?? II, IIS installation and configuration. Win2000? Server / Win2000? Advance? Server is installed by default. If you don't choose when installing, follow these steps below.

Win2000? Pro / WinXP? Pro / Win2003 user ?? Start -> Control Panel -> Add / Remove Programs -> Add Delete Windows Program Components ??? Inside the Internet? Information Service (IIS) hook, then insert Windows Install the disc, click Next, this starts to install IIS, don't say more, it is also the same as ordinary software installation, not a point next step is to complete and determine. Now configure IIS. Start -> Control Panel -> Administrative Tools -> Internet® Information Services. After opening, I went to the IIS's console. The number in front of the computer name is expanded, and the number in front of the website is started. At this time there is a default website, here is the key place to configure IIS. Right click on "Default Website", select "Properties" in the pop-up menu, then "Properties" will pop up. Under normal circumstances, "Website / General" tab does not change. Select the "Home Directory" tab, the local path is your home directory path, here you can browse to change to the directory you want to set, default: x: / inetpub / wwwroot (x: Represents the system disk). You can also set up user operation permissions for your website here. After these settings are turned to the Document tab, first tick in front of the "Enable Default Document", the default is tick. Click "Add", you can add the default document, such as add index.asp, index.htm, index.html, etc. This is the main file name that you open by default, you can also delete it here, choose the document you want to delete. After that, click "Delete", now the "Properties" tab is basically set, click the application, and then return to the IIS console. It is now setting the virtual directory (if your file is placed in x: / inetpub / wwwroot, you should not set it), right-click "New" -> Virtual Directory. Enter the virtual directory name, the next step, select the file path, the next step, complete. Now that IIS configuration we basically complete, now we can use IIS IE to debug the ASP. Open IE, type in the address bar: http: // xxx (your computer name or 127.0.0.1 or localhost) / xxxxx (your virtual directory name, that is, you are setting up the virtual directory, if If you put it under x: / inetpub / wwwroot, you don't have a virtual directory) / wwww (file name, if it is default.asp / default.html / index.htm / index.asp) file names can also be omitted). If your ASP file has an error, IE will report an error. ?? Well, basically it is these, and it is necessary to rely on yourself to explore. This is still going to do it yourself. Other advanced settings will try it yourself, usually these settings are enough. ?? Finally, I said: General PWS / IIS error, only reinstall the system to recover. In WinXP? Pro, you often update (add, modify, delete) operations on the database, can only be read, the method is to reload the IIS, or the other version of WinXP? PRO, so it is recommended to use Win2000? Server IIS (Win2003 I have not used it). Finally, I wish you all a successful establishment of your own ASP operating environment using PWS / IIS. -------------------------------------------------- ---

转载请注明原文地址:https://www.9cbs.com/read-115962.html

New Post(0)