This is the path of folder where are my web documents and which I want to protect: "C:\Program Files\PostgreSQL\EnterpriseDB-ApachePhp/apache/www/MyWeb"
Also in this folder I placed: .htaccess and .htpasswd
My .htaccess has following: AuthName "Protected site" AuthType Basic AuthUserFile C:\Program Files\PostgreSQL\EnterpriseDB-ApachePhp/apache/www/MyWeb/.htpasswd require valid-user
In httpd.conf for DocumentRoot "C:\Program Files\PostgreSQL\EnterpriseDB-ApachePhp/apache/www" I changed AllowOverrid None to All and added row AccessFileName .htaccess as below: AccessfileName .htaccess
Options FollowSymLinks AllowOverride None ----> All Order deny,allow Deny from all
So this is what I have done exactly!
And sorry for question I asked one more time, becuase It seems to me that people answere on question only in first tem minutes, after that it falls in oblivion. :)