I'm using apache2 and mod_jk for balancing requests throw servers. my problem is that everybody can access to status page of mod_jk . is there any way to add authentication for that? (I can't use read_only mode because i have to edit balancer specification from that page)
Asked
Active
Viewed 1,081 times
1 Answers
1
You can put a directive before the mod_jk stuff to do the authentication. For example:
<Location "/status">
Order allow,deny
Allow from all
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /usr/local/apache/passwd/passwords
Require user admin
</Location>

Sarwar kamal
- 111
- 5