WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   problem mit .htaccess (http://www.wcm.at/forum/showthread.php?t=132223)

flocky 23.04.2004 16:45

problem mit .htaccess
 
hallo

ich hab den apache 2.0.48 laufen und wollt mal ein bissi mit .htaccess und auths herumspieln. ich hab ein file "htaccess.txt" weil der editor sonst die ganze zeit wegen dem filename jammert, natürlich hab ich httpd.conf entsprechend adaptiert.
hier mal htaccess.txt:

Code:

AuthType Basic
AuthName "boano required"
AuthUserFile htpasswd
require flocky

die datei htpasswd liegt im selben dir.
das problem is jetz, dass ich auch einfach so ins dir komme und mir die index.php zeigt.
hat wer eine ahnung was ich ev. falsch gemacht hab? das module is übrigens geladen.

flocky 23.04.2004 17:31

also ich bin schon einen schritt weiter, wenn ich statt der htaccess.txt alles in den <directory> tags in der httpd.conf confige dann funzt alles.

flocky 23.04.2004 17:48

hat sich erledigt, AllowOverride in der httpd.conf auf war auf "none" ich hab dacht, dass das bedeutet, dass keine settings in der .htaccess overrided werden dürfen :rolleyes:
jetz is auf all und alles is tutti frutti


Alle Zeitangaben in WEZ +2. Es ist jetzt 00:37 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag