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-05-11 21:08:08
From:   anonymous2
I found my mistake and now realize to be careful with spaces in unix. a habit when typing I guess. Thanks Kevin for a great series. I have learned so much about Apache from your articles. One question though. IE prompted for name and password on my lan but Safari didn't. When this happens is our only alternative to use IE? How would we authenticate with other browsers? If there was a command in one of the menus I wasn't sure about it. I was on the girlfriends powerbook and it was in Japanese.


Mac OS X Hacks has some great things in it. glad I bought it.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • couldn't get .htaccess working but...
    2003-06-24 04:12:14  anonymous2 [View]

    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 :)
    • 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.