1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

.htaccess problem

Discussion in 'Plesk for Linux - 8.x and Older' started by Waylander, May 11, 2005.

  1. Waylander

    Waylander Guest


    ive a problem with secured directorys now,
    when i protect a dir via plesk (even via webmin) the site is secured, but no prompt show up to enter my user/pass

    i just see:

    Authorization Required

    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    this occurs on firefox and iexplorer

    every hint is welcome :)

    sorry for my bad english, thanks

  2. hardweb

    hardweb Guest

    Check the errorlog for that domain, it might give you an indication on the issue.
  3. Waylander

    Waylander Guest

    oh yes, ive checked all logs but the "domainlogs" :) this show me:

    File does not exist: /home/httpd/vhosts/domain.info/error_docs/unauthorized.html

    so i disabled the user errordocs in domain-setup und voila, the loginscreen show up. strange, but it works now. thanks hardweb!

  4. Whistler

    Whistler Guest

    It's not strange - it's perfectly normal behavior in Apache:

    If the unauthorized.html file is not found when enabling custom errordocs, Apache throws an error header and not the "Basic Realm Auth" header.

    So if you want to use custom errordocs, just make sure the errordocs exists :eek:)