• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

.htaccess problem

W

Waylander

Guest
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
 
Check the errorlog for that domain, it might give you an indication on the issue.
 
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
 
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
 
Back
Top