htaccess ile dizin koruması
13 Mart 2011Pazartesi20:42Yorum: 0
Kategori:
Kategori:
kısaca:
$>cd /home/hesap
$>htpasswd -c .htpasswd fred
$>cd www/birdizin
$>nano .htaccess
dosya içeriği olarak şunlar yazlır:
---
AuthUserFile /home/hesap/.htpasswd
AuthType Basic
AuthName "gizli bir dizin"
Require valid-user
---
detay: http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
