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

    Join Date
    Jun 2000
    Rep Power
    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,

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

    <Limit GET>
    require user lala

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

IMN logo majestic logo threadwatch logo seochat tools logo