(ii) Apache Server
1, double-click the Apache_1_3_12_win32.exe file for installation, install using the default configuration, the default installation directory is:
C:\Program Files\apache Group\apache, I use $apache_root to replace the installation destination;
2, modify the $apache_root\conf\httpd.conf:
1) PORT
Set the port number to use for the Apache WEB Server runtime, because IIS is running here, IIS uses a 80 port number, so I change it to port 8080, and then I type it in the browser
Http://localhost:8080/can access to the APACHE Web server server, enter http://localhost/access to IIS, so that two WEB servers can be used Oh, I use $apache_port logo ;
2) DocumentRoot
Set the document root directory, when you enter http://localhost on the browser: $APACHE _port/, the server will read data from the document root directory, because my program is placed under D:\HZQ, so I set DocumentRoot to D:/hzq;
3, after the Apache installation in the "Start-> Program" menu group more than the Apache WEB Server menu group, run one of the install Apache as a service, so that in the "Start-> Set-> Control Panel-> Service" There is an extra service called Apache that you can use to start or stop the Apache service;
4, open "Start-> Set-> Control Panel-> Service", select the Apache service, press "Start" to start the Apache service;
5, I entered http://localhost in the browser: $APACHE _port/, I saw all the files under D:\HZQ,
This indicates that the Apache service has been successfully installed.
(iii) Apache Jserv
1, copy the ApacheModuleJServ.dll file to the $apache_root\modules directory;
2, modify the $apache_root\conf\httpd.conf:
Add the LoadModule jserv_module modules/apachemodulejserv.dll to the file to start the Apache Jserv;
3, restart the Apache service.