(2) Apache server
1. Double-click the apache_1_3_12_win32.exe file and use the default configuration for installation. The default installation directory is:
C: \ Program Files \ apache group \ apache, I use $ apache_root to replace the installation destination;
2. Modify $ apache_root \ conf \ httpd. conf:
1) Port
Set the port number used for running Apache Web server.
Port 80 is used, so I changed it to port 8080 and enter it in the browser later.
Http: // localhost: 8080/to access the Apache Web server. Enter
Http: // localhost/can access IIS, so that both web servers can be used.
$ Apache_port ID;
2) DocumentRoot
Set the document root directory. When you enter http: // localhost: $ apache_port/in your browser
The server reads data from the root directory of the document. Program All are placed under D: \ hzq, so I
DocumentRoot is set to D:/hzq;
3. After installing Apache, add an Apache Web Server menu group in the "Start-> program" menu group and run
Install Apache as a service. In this case, choose Start> Settings> Control Panel> service.
An additional service named Apache can be used to start or stop the apache service;
4. Open "start-> Settings-> Control Panel-> service", select Apache, and press "start" to start Apache.
Service;
5. Input http: // localhost: $ apache_port/in the browser to view all the files under D: \ hzq,
This indicates that the apache service has been installed successfully.
(3) Apache JServ
1. Set apachemodulejserv. copy the DLL file to the $ apache_root \ modules directory.
2. Modify $ apache_root \ conf \ httpd. conf:
Add loadmodule jserv_module modules/apachemodulejserv to the file. DLL to
start Apache JServ;
3. Restart the apache service.