You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sa...@seagate.com on 2002/02/06 21:00:55 UTC

Re: avoiding display of apache version when authentication cancelled

Hi,
User
ErrorDocument directive in container.

In peace,

Saqib Ali
=======================
Organic Document: Living and evolving document
For more information on Organic Documents visit
http://gcs.seagate.com/scripts/wiki/


                                                                                                                          
                    "Milind Sawant"                                                                                       
                    <milind.sawant@skand        To:     <us...@httpd.apache.org>                                          
                    iabank.ch>                  cc:                                                                       
                                                Subject:     avoiding display of apache version when authentication       
                    02/06/2002 12:04 PM         cancelled                                                                 
                    Please respond to                                                                                     
                    users                                                                                                 
                                                                                                                          
                                                                                                                          





Hi

I have given "ServerTokens ProductOnly" in the apache configuration so that
the apache version is not sent
in the http header.

The problem
I have configured basic authentication on apache for some resource.
on the popup for authentication , if "Cancel" is clicked , the following is
thrown on the browser


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.


----------------------------------------------------------------------------

----

Apache/1.3.19 Server at host Port port


as you can see the apache version is displayed .

Is there a way to avoid this or to throw a customized error message?

thanks for your support
Milind



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: avoiding display of apache version when authentication cancelled

Posted by Joshua Slive <jo...@slive.ca>.
> From: Saqib.N.Ali@seagate.com [mailto:Saqib.N.Ali@seagate.com]> Hi,
> User
> ErrorDocument directive in container.
> 
> In peace,

Or look at the ServerSignature directive.

ServerTokens only affects the HTTP Host: header line.

Joshua. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org