This is a discussion on Authorization required response within the Apache Web Server forums, part of the Web Server and Related Forums category; When Apache denies access and sends a page saying 'Authorization required' - is it possible to change what that page is? ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"Walter Milner" <w.w.milner@bham.ac.uk> schreef in bericht
news:efdeca4d.0406042349.6da33bf7@posting.google.c om... > When Apache denies access and sends a page saying 'Authorization > required' - is it possible to change what that page is? How? ( OK > smite me with the mighty sword Cluebringer ;-) ) You mean: how to change those ugly gray pop-ups? Apache has no control over them, they are defined inside your browser. HansH |
|
|||
|
*** Walter Milner escribió/wrote (5 Jun 2004 00:49:33 -0700):
> When Apache denies access and sends a page saying 'Authorization > required' - is it possible to change what that page is? How? ( OK > smite me with the mighty sword Cluebringer ;-) ) Check the ErrorDocument directive. Auth error is a 401 code. -- -- -+ Álvaro G. Vicario - Burgos, Spain - ICQ 46788716 +- http://www.demogracia.com (la web de humor para mayores de 100 años) ++ «Sonríe, que te vamos a hacer una foto para la esquela» -- |
|
|||
|
"Alvaro G. Vicario" <kAlvaroNOSPAMTHANKS@terra.es> wrote in message news:<12wpq06pa5e81.1qone9ymh30au$.dlg@40tude.net> ...
> *** Walter Milner escribió/wrote (5 Jun 2004 00:49:33 -0700): > > When Apache denies access and sends a page saying 'Authorization > > required' - is it possible to change what that page is? How? ( OK > > smite me with the mighty sword Cluebringer ;-) ) > > Check the ErrorDocument directive. Auth error is a 401 code. > > -- Hi Alvaro (I really like the country north of Burgos) Its OK if I use the simple text form ErrorDocument 401 "Access denied but if I refer to a web page like ErrorDocument 401 /no.htm I get the standard response plus 'Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.' Is this because this is in htdocs and I've denied access without a password? So do I have use .htaccess to control access per directory, and put the errordoc in a directory with public access? |