#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Bucharest, Romania
    Posts
    10
    Rep Power
    0
    Hello !!!

    Does anybody know a "quick and dirty" way to protect a directory from beeing accesed with the browser, using a password protection ?

    Example: http://206.186.202.8
    (something called CobaltCacheRaQ - I have no idea about what it is, i just gave it as example)

    Thanx !!!
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    1) /home/httpd/htdocs/private/.htaccess:
    AuthName "Private Section"
    AuthType Basic
    AuthUserFile /home/httpd/.htpasswd
    require valid-user

    2) /home/httpd/.htpasswd:
    username:encrypted_password
    username2:encrypted_password2

IMN logo majestic logo threadwatch logo seochat tools logo