apache+servlet+jsp environment settings (medium) _jsp programming

Source: Internet
Author: User
(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 used by the Apache Web Server runtime, because IIS is also running here, IIS makes
With a 80 port number, I changed it to port 8080, and then I typed it in the browser.
http://localhost:8080/to access the Apache Web Server server, enter
http://localhost/access to IIS, so that two Web servers can be used Oh, I use
$APACHE _port identification;
2) DocumentRoot
Set the document root directory, when you enter http://localhost on the browser: $APACHE _port/, dress
The utility will read the data from the root of the document, because my program is placed under the D:\HZQ, so I
DocumentRoot set to D:/hzq;
3, Apache installed in the "Start-> Program" menu group more than the Apache WEB Server menu group, run the
Install Apache as a service, so that in the "Start-> Settings-> Control Panel-> Service"
One more service called Apache, which 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 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 in the file to
Start Apache Jserv;
3, restart the Apache service.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.