Hallo,
I want zu install a security-path with .htaccess and .htpasswd on my privat
local machine (for test-reason)
I succeeded with a .htaccess and Error 404-adressing a special Error-page
with menu.
SSI and PHP are accessible..
My Apache is installed in path C:\Apache2\
My homepage is in D:\Daten\htdocs\effektiv\familienzentrum.com\
and is named http://fzt.local/
I created a new directory as
D:\Daten\htdocs\effektiv\familienzentrum.com\gehei m\ where I want to put the
..htpasswd and .htaccess
This path shall be the security-path.
I think, that I should not put password-file there, but for testreason it is
ok.
with a utility I named (and with htpasswd.exe the same) this path as
"geschuetzt"
Loginname (User) "geheim"
password "takatuka71382"
so I got 2 files
..htaccess
AuthUserFile D:/Daten/htdocs/effektiv/familienzentrum.com/geheim/.htpasswd
AuthName "geschuetzt"
AuthType Basic
require valid-user
..htpasswd
geheim:$1$TVX0ogEG$5mrLzYr/bceOinejlH8v.1
I put both files in path
D:/Daten/htdocs/effektiv/familienzentrum.com/geheim/
when adressing http://fzt.local/geheim/index.php - I correct get the window
for input of user and Password.
But when I give user=geheim, and password=takatuka71382, the security-window
does not accept those values.
What is wrong here?
Who may help me please?