Authorization required response

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? ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-05-2004
Walter Milner
 
Posts: n/a
Default Authorization required response

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 ;-) )
  #2 (permalink)  
Old 06-05-2004
HansH
 
Posts: n/a
Default Re: Authorization required response

"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


  #3 (permalink)  
Old 06-05-2004
Alvaro G. Vicario
 
Posts: n/a
Default Re: Authorization required response

*** 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»
--
  #4 (permalink)  
Old 06-07-2004
Walter Milner
 
Posts: n/a
Default Re: Authorization required response

"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?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0