WCM Forum

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

darkcobalt 14.12.2004 17:47

htaccess
 
hallo. einige fragen zu htaccess.

ich möchte einige bereiche meiner webpage passwartschützen, so dass man nur durch eingabe von passwort und benutzernamen die seiten öffnen kann.


weiters will ich mit htaccess verhindern das meine ganze site komplett mit DL-Software runtergeladen werden kann (tools wie httrack).


wie muss die htaccess datei in meinem root verzeichnis aussehen und wie rufe ich die datei beim starten meiner website auf????

Potassium 14.12.2004 18:02

http://www.drweb.de/htaccess/index.shtml
da gibts viele infos.

CM²S 14.12.2004 18:16

auf jedenfall.......
 
sollte sie .htaccess heissen,.......

uns so könnte der inhalt aussehen.

AuthType Basic
AuthName "Password Required"
AuthUserFile /www/passwords/password.file
#AuthGroupFile /www/passwords/group.file
# Require Group admins

"touch password.file"
mit "htpasswd -n password.file username"

passwort vergeben.

ciao
CM²S:tux:

darkcobalt 14.12.2004 18:40

thanks
 
werds gleich mal probieren. geb dann ein feedback.


Alle Zeitangaben in WEZ +2. Es ist jetzt 23:25 Uhr.

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