View previous topic :: View next topic |
Author |
Message |
gdvl
Joined: 04 Apr 2002 Posts: 103 Location: Belgium
|
Posted: Fri Mar 21, 2003 11:24 am Post subject: |
|
|
Quote: |
On 2003-02-23 18:34, KS-Soft wrote:
May be IE configured to use some proxy server?
Could you try to make HTTP request using any telnet client? Just connect to port 80 and type something like "GET myserver/mypage.htm HTTP/1.0". What answer you get from server?
HTTP/1.1 401 Access Denied
Server: Microsoft-IIS/5.0
Date: Fri, 21 Mar 2003 17:10:08 GMT
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Content-Length: 3643
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html dir=ltr>
<head>
<style>
a:link {font:8pt/11pt verdana; color:FF0000}
a:visited {font:8pt/11pt verdana; color:#4e4e4e}
</style>
<META NAME="ROBOTS" CONTENT="NOINDEX">
<title>You are not authorized to view this page</title>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
</head>
<script>
function Homepage(){
<!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
//For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.m
icrosoft.com/bar.htm"
DocURL=document.URL;
//this is where the http or https will be, as found by searching for ://
but skipping the res://
protocolIndex=DocURL.indexOf("://",4);
//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf("/",protocolIndex + 3);
//for the href, we need a valid URL to the domain. We search for the # s
ymbol to find the begining
//of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
BeginURL=DocURL.indexOf("#",1) + 1;
urlresult=DocURL.substring(BeginURL,serverIndex);
//for display, we need to skip after http://, and go to the next slash
displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
document.write( '<A HREF="' + escape(urlresult) + '">' + displayresult +
"</a>");
}
//-->
</script>
<body bgcolor="FFFFFF">
<table width="410" cellpadding="3" cellspacing="5">
<tr>
<td align="left" valign="middle" width="360">
<h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->You are
not authorized to view this page</h1>
</td>
</tr>
<tr>
<td width="400" colspan="2">
<font style="COLOR:000000; FONT: 8pt/11pt verdana">You do not have permi
ssion to view this directory or page using the credentials you supplied.</font><
/td>
</tr>
<tr>
<td width="400" colspan="2">
<font style="COLOR:000000; FONT: 8pt/11pt verdana">
<hr color="#C0C0C0" noshade>
<p>Please try the following:</p>
<ul>
<li>Click the <a href="javascript:location.reload()">Refresh</a> button to try a
gain with different credentials.</li>
<li>If you believe you should be able to view this directory or page, please con
tact the Web site administrator by using the e-mail address or phone number list
ed on the
<script>
<!--
if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.naviga
tor.appVersion.charAt(0) == "2")))
{
Homepage();
}
//-->
</script>
home page.</li>
</ul>
<h2 style="font:8pt/11pt verdana; color:000000">HTTP 401.2 - Unauthorized: L
ogon failed due to server configuration<br>
Internet Information Services</h2>
<hr color="#C0C0C0" noshade>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Background:<br>
This is usually caused by a server-side script not sending the proper WW
W-Authenticate header field. Using Active Server Pages scripting this is done by
using the <strong>AddHeader</strong> method of the <strong>Response</strong> ob
ject to request that the client use a certain authentication method to access th
e resource.
<p>
<li>More information:<br>
<a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=
&ID=401.2&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3=" target="_blank">Microsoft Su
pport</a>
</li>
</p>
</ul>
</font></td>
</tr>
</table>
</body>
</html>
Connection to host lost.
Regards
Alex
|
I think it has someting to do with security. I think the currently logged on users has access to the site. What's the difference with the URL test ? (an IE explorer security setting ?)
PS: See the 'old' forum for the whole story.
Regards,
Gert
_________________
[ This Message was edited by: gdvl on 2003-03-21 10:26 ] |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12808 Location: USA
|
Posted: Fri Mar 21, 2003 12:36 pm Post subject: |
|
|
Of course HostMonitor sets "Bad" status of the test. Server returns "HTTP/1.1 401 Access Denied" responce code.
Regards
Alex |
|
Back to top |
|
|
gdvl
Joined: 04 Apr 2002 Posts: 103 Location: Belgium
|
Posted: Fri Mar 21, 2003 1:37 pm Post subject: |
|
|
Ok, that's right.
Can you help me: why I've no problem when I use IE or URL test ?
Regards,
Gdvl
|
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Fri Mar 21, 2003 2:11 pm Post subject: |
|
|
WWW-Authenticate: NTLM
This means NO clear text authentication. IE (on windows platform) is the only browser able to use this. I assume it is not build into HM and URL test uses IE.
Either set IIS authentication to basic or anonymous, or use the URL test. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12808 Location: USA
|
Posted: Fri Mar 21, 2003 2:20 pm Post subject: |
|
|
Marcus is right |
|
Back to top |
|
|
gdvl
Joined: 04 Apr 2002 Posts: 103 Location: Belgium
|
Posted: Fri Mar 21, 2003 2:26 pm Post subject: |
|
|
Thanks Marcus and Alex
I'll contact my web admin about this.
Regards,
Gert
|
|
Back to top |
|
|
|