Heh, now, after many changes in httpd.conf, when I go to
http://myserver.com/~barca/secret I get dialog window and when I enter correct user/pass I can enter
I'm then in
http://myserver.com/~barca/secret and when I press "Parent Directory" I'm in
http://myserver.com/~~barca/ and I SEE "SECRET" DIRECTORY. But, when I go directly to
http://myserver.com/~barca, then directory "secret" is still invisible.
It's from my access_log (when I opened URL
http://myserver.com/~barca/secret and I get dialog window with ask for user/pass):
192.168.0.1 - - [23/Feb/2005:19:17:28 +0100] "GET /~barca/secret HTTP/1.1" 401 401 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
In /home/barca/www/secret I have .htpasswd and .htaccess:
AuthUserFile /home/barca/www/secret/.htpasswd
AuthName "Co sie mowi? ;]"
AuthType Basic
Require valid-user
Order allow,deny
Allow from all
Permissions are:
-rw-r--r-- 1 barca users 138 2005-02-23 19:15 .htaccess
PS You can treat "Co sie mowi?" as polish equivalent for Bugs Bunny's "What's up doc?"