1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

.htaccess problem

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

  1. Waylander

    Waylander Guest

    0
     
    hello,

    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
    :confused:

    every hint is welcome :)

    sorry for my bad english, thanks

    way
     
  2. hardweb

    hardweb Guest

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

    Waylander Guest

    0
     
    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!

    way
     
  4. Whistler

    Whistler Guest

    0
     
    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:)

    --
    //Geert
     
Loading...