Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Apache Web Serving with Jaguar, Part 4
Subject:   couldn't get .htaccess working but...
Date:   2003-06-24 04:12:14
From:   anonymous2
Response to: couldn't get .htaccess working but...

The only thing I can think of is that you have already authorised access to the directory in Safari. If you visit another page and then return, Safari will remember the original login info so you don't have to type it in again.


Quit Safari, fire it up again and then go back to the directory in question. Does the .htaccess file work its magic now? Of course, you may have also checked the 'Remember this password' check-box on a previous visit so the login info is now in your key chain. However, you should still see the authentication sheet. Safari will have dutifully filled in the info ready for you to OK.


If it still misbehaves try changing the required user for the directory you want to secure. Perhaps create a new "test' user first and only allow that particular user access by updating the .htaccess file accordingly.


Safari has always worked fine for me so hope something here helps :)

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • couldn't get .htaccess working but...
    2003-10-06 22:39:11  anonymous2 [View]

    I get an endless loop of the password window. i enter in the username and password and it just comes right back asking for it again. how do i fix?
    thanks.
    • couldn't get .htaccess working but...
      2004-09-28 11:20:20  rayvanderver [View]

      Check your file permissions on the password file, if permissions are not correct it cannot read them to check passwords. Also check the file location and make sure the htaccess file is pointing to the correct file/directory.