Hil Leute, habe das Problem gelöst mit der .htaccess und .htpasswd Datei, habe folgendes gemacht, bzw. in der httpd.conf geändert
in der Datei httpd.conf zeile 188 von None auf All stellen,
<Directory />
Options FollowSymLinks
AllowOverride
All
Order deny,allow
Deny from all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/apachefriends/xampp/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
#
http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride
All
und in der Zeile 223 auch auf All stellen.
Dann die .htaccess und .htpasswd Datei in den Verzeichnis, wo der Apache XAMPP installiert ist.
Dann den PC neu starten, und es sollte nach dem neustart funktionieren. Bei mir hat es geklappt.
Also nochmals Danke.