Regular expression.
\w -> Part-of-word character ([a-zA-Z0-9_])
Best Regards,
KengSeng Tan
Cohesion Network Technologies Pte. Ltd.
Tel: (65) 65626495
Hp. (65) 93821024
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hejna, Maria
Sent: Wednesday, September 19, 2007 10:33 PM
To: [email protected]
Subject: RE: [WhatsUp Forum] HTTP CONTENT SCAN
Great thanks KengSeng for that tip below. It will look like this then:
Send=GET http://ask.buffalostate.edu\r\n
<http://ask.buffalostate.edu/r/n>
Expect=~buffalo\w
Do you know what the \w means after ~buffalo?
Is it telling to scan the entire page and look for anything that has the
word buffalo in it?
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kstan
Sent: Wednesday, September 19, 2007 10:24 AM
To: [email protected]
Subject: RE: [WhatsUp Forum] HTTP CONTENT SCAN
It can be as simple as:
Send=GET http://ask.buffalostate.edu\r\n
<http://ask.buffalostate.edu/r/n>
Best Regards,
KengSeng Tan
Cohesion Network Technologies Pte. Ltd.
Tel: (65) 65626495
Hp. (65) 93821024
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hejna, Maria
Sent: Tuesday, September 18, 2007 12:28 AM
To: [email protected]
Subject: RE: [WhatsUp Forum] HTTP CONTENT SCAN
Great thanks Mark, I'd checked out the KB you gave me below and this is what
I came up with for our site:
Send=GET / HTTP/1.0\r\nAccept:
*/*\r\nHost:ask.buffalostate.edu\r\nUser-Agent: Ipswitch_Whatsup/8.0\r\n\r\n
Expect=~buffalo\w
Send=GET / HTTP/1.0\r\nAccept:
*/*\r\nHost:forum.buffalostate.edu\r\nUser-Agent:
Ipswitch_Whatsup/8.0\r\n\r\n
Expect=~buffalo\w
Send=GET / HTTP/1.0\r\nAccept:
*/*\r\nHost:view.buffalostate.edu\r\nUser-Agent:
Ipswitch_Whatsup/8.0\r\n\r\n
Expect=~buffalo\w
Send=GET / HTTP/1.0\r\nAccept:
*/*\r\nHost:blog.buffalostate.edu\r\nUser-Agent:
Ipswitch_Whatsup/4.0\r\n\r\n
Expect=~buffalo\w
If you see anything in error please let me know. I am going to test the
sites shortly.
Thanks,
Maria
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Singh
Sent: Monday, September 17, 2007 12:14 PM
To: [email protected]
Subject: RE: [WhatsUp Forum] HTTP CONTENT SCAN
Maria,
this KB will help:
http://support.ipswitch.com/kb/WG-20010425-DM01.htm
Mark Singh
Ipswitch, Inc.
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hejna, Maria
Sent: Monday, September 17, 2007 11:34 AM
To: [email protected]
Subject: [WhatsUp Forum] HTTP CONTENT SCAN
Does any one know how to scan certain content on ONE server that uses
multiple sites? I need to be able to scan a word on each of the 4 websites
that reside on the same server.
Currently we use:
Send=GET /HTTP/1.0\r\nAccept: */*\r\nUserAgent: WhatsUp/1.0\r\n\r\n
Expect=~buffalo\w
This works flawlessly when checking the entry page. But now I have to use
the same command on several sites on ONE server.
How do I reference the 4 web pages in a single script.
Thanks,
Maria