HTTP test

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

Hi !

I'm trying to test a Microsoft Exchange 2000 Web Outlook, using HTTP test, the server is using a 128-bit SSL certificate.

I have entered logon information but I only get
Test status: Bad
Error code: 403
Error msg: Access forbidden.

The userid and password is right !

any idea ?
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

I tested a lot of combinations and found one that worked.

Trying to access http://www.server.com/exchange didn't work.

But in the root on http://www.server.com I added this from Microsoft Knowledge base article 268822:
<html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="refresh" content="0;url=https://server_name/exchange/logon.asp"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title></title> </head>

</html>

I changed my test to http://www.server.com and it worked, BUT the content test and header test seams like it doesn't work as it should.

In the header test I enter: Microsoft Outlook, but the respons is Bad Contents, but if I only specify Microsoft, it works.

It seams like the test only checks the first word and nothing more.

Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

Another problem "?" Discovered

I am testing a MS IIS 4.0 or 5.0 server with HTTPS and I have checkmarked "Require Secure Channel" then the test won't work" error code 403, Access Forbidden. If I remove "Require Secure channel" I can make he test with or withour https:// !

Can you help me with this !
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HTTP test supports HTTP protocol, and does not support HTTPS protocol. If you need to check web server using HTTPS protocol, use old URL test

Regards
Alex
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

Is it a possibility to have it in the future, it's a good feature to be able to logon to your webmailserver and present the result to the people working outside the office.

Did you check on the "Check header" problem mentioned above
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, another test for HTTPS protocol will be implemented in future.
Sorry, I missed message about "Check header" problem. But I don't see any problem. There is header returned by your server:
Date: Wed, 11 Dec 2002 19:24:20 GMT
Server: Apache/1.3.26 (Unix) mod_perl/1.26
Last-Modified: Mon, 09 Dec 2002 11:40:33 GMT
ETag: "671e3-1061-3df48131"
Accept-Ranges: bytes
Content-Length: 4193
Connection: close
Content-Type: text/html
HTTP/1.1 200 OK

As you can see there are no "Microsoft Outlook" text. Also this text does not present on the page. I checked both URLs: http://www.server.com/ and http://www.server.com/exchange

Regards
Alex
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

Hello !

http://www.server.com was just a "fake address" not my own, I didn't know there was an address like that, How can I check the content of the header ?


KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

There is update at http://www.ks-soft.net/download/hm352.zip
Use "Test" button in the "HTTP Test Properties" dialog, it will display HTTP header received from a server.

Regards
Alex
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

Thank you !


simonl
Posts: 49
Joined: Wed Apr 03, 2002 6:00 pm
Contact:

Post by simonl »

I’m going to configure new http for my web site and it will be grate to get same examples and more information on help file.
For example:
I have web site http://www.npdor.com. I need put username and password then login to it and check availability of database connection. How can I configure http test to do that?
You can use username ks_soft, and password ks_soft01.
Thank you a lot.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>I have web site http://www.npdor.com. I need put username and password then login to it and check availability of database connection. How can I configure http test to do that?

The best person to ask this question is administrator of YOUR web server. He is the one who knows how script works and what possible reply it can displays, he knows what database your server uses, only he has access to source code of the scripts, etc.

The only I can do its check source code of your HTML page. I checked it and can assume you can use following parameters to send login and password:
- URL: http://www.npdor.com/verify.asp
- Request: POST
- Post Data: user=ks_soft&pass=ks_soft01&submit=value=Log%20In
- Follow redirect: Yes
- Allow per-session cookies: Yes
- Optional headers: Content-Type: application/x-www-form-urlencoded
To check result of login use "Check contents" option.

Regards
Alex
Locked