(II) Apache Server
1. Double-click the apache_1_3_12_win32.exe file to install, use the default configuration to install, and the default installation directory is:
C:\Program Files\Apache Group\Apache, I use $APACHE_ROOT instead of the installation destination;
2. Modify $APACHE_ROOT\conf\:
1)PORT
Set the port number used when Apache Web Server is running. Since IIS is also running here, IIS makes
I used the 80 port number, so I changed it to Port 8080 and entered it in the browser later.
To access the Apache Web Server server, enter
IIS can be accessed at http://localhost/, so both Web Servers can be used, I use it
$APACHE_PORT ID;
2)DocumentRoot
Set the document root directory. When you enter http://localhost:$APACHE_PORT/ in your browser, the server
The server will read data from the root directory of the document. Since my programs are placed under D:\HZQ, I put it
DocumentRoot is set to D:/HZQ;
3. After Apache is installed, there is an Apache Web Server menu group in the "Start -> Programs" menu group, and run it
Install Apache as a service, in this way, in "Start -> Settings -> Control Panel -> Services"
There is an additional service called Apache, which you can use to start or stop Apache services;
4. Open "Start -> Settings -> Control Panel -> Service", select the Apache service, and press "Start" to start Apache
Serve;
5. I entered http://localhost:$APACHE_PORT/ in my browser and saw all the files under D:\HZQ.
This means that the Apache service has been installed successfully.
(III) Apache JServ
1. Copy the file to the $APACHE_ROOT\modules directory;
2. Modify $APACHE_ROOT\conf\:
Add LoadModule jserv_module modules/ to this file
Start Apache JServ;
3. Restart the Apache service.
1. Double-click the apache_1_3_12_win32.exe file to install, use the default configuration to install, and the default installation directory is:
C:\Program Files\Apache Group\Apache, I use $APACHE_ROOT instead of the installation destination;
2. Modify $APACHE_ROOT\conf\:
1)PORT
Set the port number used when Apache Web Server is running. Since IIS is also running here, IIS makes
I used the 80 port number, so I changed it to Port 8080 and entered it in the browser later.
To access the Apache Web Server server, enter
IIS can be accessed at http://localhost/, so both Web Servers can be used, I use it
$APACHE_PORT ID;
2)DocumentRoot
Set the document root directory. When you enter http://localhost:$APACHE_PORT/ in your browser, the server
The server will read data from the root directory of the document. Since my programs are placed under D:\HZQ, I put it
DocumentRoot is set to D:/HZQ;
3. After Apache is installed, there is an Apache Web Server menu group in the "Start -> Programs" menu group, and run it
Install Apache as a service, in this way, in "Start -> Settings -> Control Panel -> Services"
There is an additional service called Apache, which you can use to start or stop Apache services;
4. Open "Start -> Settings -> Control Panel -> Service", select the Apache service, and press "Start" to start Apache
Serve;
5. I entered http://localhost:$APACHE_PORT/ in my browser and saw all the files under D:\HZQ.
This means that the Apache service has been installed successfully.
(III) Apache JServ
1. Copy the file to the $APACHE_ROOT\modules directory;
2. Modify $APACHE_ROOT\conf\:
Add LoadModule jserv_module modules/ to this file
Start Apache JServ;
3. Restart the Apache service.