Brauche Hilfe bei der .htaccess und .htpasswd Datei

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Brauche Hilfe bei der .htaccess und .htpasswd Datei

Postby Python » 01. March 2006 02:52

Hallo Leute,
habe ein kleines Problem mit der .htaccess und .htpasswd Datei. Ich habe XAMPP 1.51 jetzt ist es so, wenn ich eine .htaccess und .htpasswd Datei erstelle, und Sie in den ordner C:\apachefriends\xampp\htdocs ablege, und ich gehe auf meiner Seite, fragt er nicht nach die zugangsdaten , die eigentlich erscheinen sollten. Hoffe mir kann jemand helfen. BITTE :x :x
Python
 
Posts: 5
Joined: 27. February 2005 03:21

Postby Wiedmann » 01. March 2006 02:59

Hoffe mir kann jemand helfen

Selbst ist der Mann ;-)

--> Im Forum gibts es gerade haufenweise Beiträge dazu. Mit der Suchfunktion (nach ".htaccess") leicht zu finden...
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Such mal nach meinen Threads

Postby TConnect » 01. March 2006 11:46

Hi,

such mal konkret nach meinem Benutzernamen (TConnect) und dem Stichwort .htaccess. Ich hatte letzte oder vorletzte Woche mal ziemlich viel gefragt und habe zu ziemlich allem Eine Lösung von "Wiedmann" erhalten. Z.B. muß der absolute Pfad mit / statt mit \ geschrieben werden etc...



Grüße
TConnect
TConnect
 
Posts: 100
Joined: 31. March 2004 22:26

Brauche Hilfe bei der .htaccess und .htpasswd Datei

Postby Python » 01. March 2006 16:06

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. :D :D
Python
 
Posts: 5
Joined: 27. February 2005 03:21


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 44 guests