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
URL test
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
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
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
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