Location based auth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't seem to find information on using password authentication within
a <Location> tag.

I've used .htaccess files in directories, but I'm using mod_jk to
connect to tomcat and a status worker, and would like to restrict access
to the status worker. There is no directory to put .htaccess in so how
would I accomplish this?

I tried putting 
		AuthType Basic
                AuthName "Private Area"
                AuthUserFile /etc/apache2/htusers
                Require valid-user
in the location tag, but it never prompts for user and password it just
says forbidden.

Thanks 

Sheldon



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux