htaccess htpasswd tomacat on windows
am 23.06.2007 17:35:40 von TEOhow can i anable the .htaccess and .htpasswd under tomcat 5.5 installed on
windows xp without iis.
I found that I need to add:
AllowOverride All
under httpd.conf, but that file is not present on the default installation
of tomcat 5.5 for windows, i shoul find it under
C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf but ther is
not!!
I have positioned the two files under the folder that I wont to protect:
..htaccess:
==========
AuthUserFile /server/webapps/private/.htpasswd
AuthName "Protected Site"
AuthType Basic
require valid-user
================
..htpasswd:
user1:password
But the auth form does not appear. The access is always free.
How can i do to anable the folder autentication???
Thx
Teo.