Monitor JK-1.2.40 connection status through jkstatus

Source: Internet
Author: User

Monitor JK-1.2.40 connection status through jkstatus

Monitor JK-1.2.40 connection status through jkstatus
Bytes ----------------------------------------------------------------------------------------------------------------------
Configure jkstatus
0) This article is based on the integration of Apache and Tomcat using JK. For the integration process, see
1) Add two lines in the workers. properties file: worker. list = status (actually worker. list = status, tomcat) and worker. status. type = status.
2) add a line under the <Directory/> label in the httpd-vhosts.conf file: JkMount/jkstatus status
3) Restart apache and access http: // 192.168.0.103/jkstatus in the browser. By default, no password is required for access.
Bytes ----------------------------------------------------------------------------------------------------------------------
Configure the password for access to jkstatus
1) modify the httpd-vhosts.conf file and add the following content under the <Directory/> label:
<Location/jkstatus>
Options MultiViews
AuthType Basic # Basic verification
AuthName "Auther Center" # prompt in the pop-up box
AuthUserFile conf/. htpasswd # password storage location
Require valid-user granted # Only users in the. htpasswd file can access
</Location>
2) generate a password file
Run the [/app/apache/bin/htpasswd-c/app/apache/conf/. htpasswd admin] command to generate a password file containing the user admin.
At the same time, you will be asked to enter the admin password of the new user twice. Finally, you can see the generated password file through [ls-al] (it is a hidden file and can be seen only after-)
3) change the password
Htpasswd-m. htpasswd Username
4) delete a user
Htpasswd-D. htpasswd Username
5) Restart apache.
Bytes ----------------------------------------------------------------------------------------------------------------------
@ Create Sep 27,201 4 3:36:34
@ Author Xuan Yu <

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.