#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    13
    Rep Power
    0

    .htaccess issues


    hi guys, i cant get the .htaccess to work

    i created the .htaccess file in /dir1/dir2/virtualdir/admin

    with the following

    AuthType Basic
    AuthName "Restricted Area"
    AuthUserFile /dir1/dir2/auth/restricted.pwd
    AuthGroupFile /dir1/dir2/auth/restricted.grp
    require valid-user



    the resitrcited.pwd contains something like
    admin_user:2gE9XovzMavhw

    so does the restricted.grp

    now when i try to access the directory : /dir1/dir2/virtualdir/admin
    from my browser, i can clearly see the admin page in that directory. I was expecting the username/password pop up

    can some one please help?
    do i need to make any changes to my httpd.conf or ssl.conf?
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,074
    Rep Power
    9398
    Do you have AllowOverride enabled? By default it is not.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    13
    Rep Power
    0
    Originally Posted by requinix
    Do you have AllowOverride enabled? By default it is not.
    Yes i did, i set it to All

IMN logo majestic logo threadwatch logo seochat tools logo