Protecting Website with .htaccess but password didn't work - Please Help!

Discussion in 'Site & Server Administration' started by FreeFun4Every1, Jul 31, 2011.

  1. #1
    Hello all
    i am trying to protect my website with .htaccess file but when i enter id & password it didn't let me in and the pop-up shows again & again asking for id and password
    i don't know what i am doing wrong
    here is the code of both file

    .htaccess
    AuthUserFile /public_html/fbapp34/.htpasswd
    AuthName "Restricted Area"
    AuthType Basic
    require valid-user
    Code (markup):
    .htpasswd
    admin:57OmSevw7PjPY
    Code (markup):
    Site URL
    http://fbapp34.info/
    Code (markup):
    Both id and password is admin:admin
    still didn't get that what i am doing wrong:confused:
    Note: it's not my primary domain so i had written full path


    If any one have knowledge of this so please reply me.

    Thanks & Regards
    Jaimin
     
    FreeFun4Every1, Jul 31, 2011 IP
  2. FreeFun4Every1

    FreeFun4Every1 Prominent Member

    Messages:
    1,109
    Likes Received:
    234
    Best Answers:
    9
    Trophy Points:
    365
    #2
    Issue resolved Please mods delete this thread
     
    FreeFun4Every1, Jul 31, 2011 IP