URL test

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
simonl
Posts: 49
Joined: Wed Apr 03, 2002 6:00 pm
Contact:

Post by simonl »

I'm monitoring couple url home pages which has option login to the web site, I mean it's check if your exists in database. But it always gave to me good result whatever I put existing login or bad one through url test settings. I do not know how it's work when you check password protected site and if you specify username and password it's going to check it from database or not?
For example: http://www.npdor.com

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

Post by KS-Soft »

Main page http://www.npdor.com/ is not password protected. It just contains login form. If you check this URL, HM will set "Host is alive" status every time server responds.
I think you should check verify.asp page that verifies password. And you have to check result, e.g. scan for "invalid password" string in result (I don't know exactly because I don't know how your system works, it is your server).
However I see another problem: form on your server use POST method. Current version of HostMonitor sends parameters using GET method only. There 2 solution:
- wait 2-3 weeks for HostMonitor 3.50 that will support POST/GET/HEADER/PUT methods
- modify your verify.asp page to support GET method. Probably your script already supports both methods?

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

Post by simonl »

Thank you very much for your respond.
I try already with verify.asp page and HM return "Host a Live" whatever I put to "password protected" settings but when I copied that string which HM created to command line and ran it manually it gave me "bad" result for existing login and password. Problem is I could not modify that page only one way wait to next version.
It will be benefits to url test if it has some ability to use script which does login, check user name and password and logout.
You can see that option in SiteScote program from http://www.freshwater.com
Locked