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

    Join Date
    Jun 2000
    Posts
    4
    Rep Power
    0
    Hello I am a newbie to Apache, but I am trying to restrict access to a subdirectory. I followed the directions in creating a .htaccess file in the subdirectory.

    now when i visit that site, the web server asks for the login 2 times, after which I get access.

    why twice?
    thanks for any help,
    /anu

    this is the contents of the .htaccess file
    --begin-----------------------------------
    AuthUserFile /etc/htpasswd
    AuthGroupFile /dev/null
    AuthName ByPassword
    AuthType Basic

    <Limit GET>
    require user lala
    </Limit>
    --end-------------------------------------


    ------------------
    <anu />
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)

IMN logo majestic logo threadwatch logo seochat tools logo