Use IIS to build a full range of space, support ASP, PHP, ASP.NET, JSP

xiaoxiao2021-03-06  14

My software environment

Operating system: WinXP SP2

Database: MSSQLServer2000 / MySQL or Oracle [No]

SDK: J2SDK-1_4_2_07-NB-4_0-bin-win.exe

Server: IIS5.1 and resin 3.0.81.iis Support ASP does not need to say, it is supported, the first step allows it to support PHP, download a PHP parser PHP-4.3.10-Installer.exe and Zendoptimizer-2.5. 7-windows-i386.exe, the second can not, it is said that the PHP execution speed can be accelerated, after installing PHP-4.3.30-installer.exe, it will be automatically configured, the second time IIS when selecting the server It's just fine. This PHP environment is built.

2.iis supports ASP.NET to Microsoft official website to download Microsoft® .NET Framework 1.1 version Release component package, DotNetfx.exe, Download:

Http://www.microsoft.com/downloads/details.aspx?familyid=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=zh-cn

download link:

http://download.microsoft.com/download/7/b/9/7b90644d-1af0-42b9-b76d-a2770319a568/dotnetfx.exe

And download "related download" at the bottom of the download page:

Microsoft Microsoft .NET Framework 1.1 Edition Simplified Chinese Language Pack

Microsoft Visual J # .NET 1.1 version can be released

Microsoft Visual J # .NET version 1.1 version can be released on the component package Simplified Chinese language package

, Install them in turn, you can also use Microsoft Visul Studio 2003 to install the first step, you can debug ASP.NET.

3, IIS support JSP, here is the focus of this article. Here I use RESIN, download the official website is

http://www.caucho.com

At present, the latest version 3.0.12, install SDK, install it to the D disk, I installed under D: / Borland. RESIN_3.0.8 decompression is placed: D: /RESIN_3.0.8.

Right click on my computer → Property → Advanced → Environment Variable.

(1) New: java_home value is: d: / borland / j2sdk-1_4_2_07

(2) New: the resin_home value is: D: /RESIN_3.0.8 (Resin installation directory)

(3) New: ClassPath value is:.; D: /borland/j2sdk-1_4_2_07/lib/dt.jar; d: /borland/j2sdk-1_4_2_07/lib/tools.jar has a point and a semicolon.

(4) Editing system variable: Path plus a semicolon, add: d: / borland / j2sdk-1_4_2_07

Copy file

This requires us to copy the file. My IIS is installed under C: / INETPUB. 1) C: / inetpub Next, a new folder is renamed Scripts 2) Copy the isapi_srun.dll under rensin_3.0.8 / libexec to c: / inetpub / scripts 3) New RESIN in C: / INETPUB / SCRIPTS .ini file. Document content Next two lines of data: ResinconfigServer Localhost 6802 IISPRIORITY HIGH (on the official documentation, RESIN.INI must only be used when needed to build multiple sites. If only one site is not necessary, there is no need to create a new RESIN.ini. Recommended use) Set IIS 1) Click Right click on the default website → ISAPI Filter → Add Filter Name: Resin_3.0.8 (Casual Fill) Executable File: C: /inetpub/scripts/isapi_srun.dll 2) In the default website Right click → New → Virtual Directory Alkname: Scripts Local Path: C: / INETPUB / SCRIPTS 3 Click Web Service Extensions → Add a new Web Service Extension Extension: Resin Requirements Document: C: / INETPUB /scripts/isapi_srun.dll Select settings the extended state to allow settings resin_3.0.8 / conf / resin.conf to find in the file (probably in the last) C: / INETPUB / WWWROOT (C: / INETPUB / WWWROOT, for your default website directory), here, we Fully set up. Then run the NET STOP W3SVC to close the IIS service. Run the NET Start W3SVC to restart IIS. Open RESIN_3.0.8 / BIN / httpd.exe. Now IIS6.0 and resin_3.0.8 have been successfully integrated. We can start httpd.exe as a service. So, httpd.exe will start when the computer is started. Installation Service D: /RESIN_3.0.8/bin/httpd.exe -install Cancel Service D: /RESIN_3.0.8/bin/httpd.exe -remove This is done in a full range of space under WinXP, just not integrated CGI, It is better to use a CGI parser with download, and now use CGI more and less. These, refer to some information on the Internet, especially IIS and RESIN, thank you! I wrote it and exchange, I hope to help some beginners, please refer to, please study together!

3932818@163.com

QQ: 3932818

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

New Post(0)