Test to ensure a port 443 redirect?

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
timn
Posts: 184
Joined: Thu Nov 20, 2003 9:57 am
Location: United States

Test to ensure a port 443 redirect?

Post by timn »

Can you help with a test? Thx.

We have certain directories within our web farm where we want to enforce SSL/port 443 communications. Just FYI, The web server farm does not itself perform SSL - this function is offloaded to a separate farm of F5/BIGIP boxes. (I don't think this distinction matters for this test though.)

We have rules written for the F5s that check the directory a user is accessing and if it is within our ecom section, we redirect any port 80 requests to port 443.

I want to write a test that alerts if I am ever able to access a page within that directory tree using just port 80 -- i.e. if the redirect to port 443 ever fails.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

H'm... probably you can use URL test method:
- "Code 302 (redirect) is Ok" option should be disabled
- "Reverse alert" option should be enabled
Then HostMonitor will set "Bad" status when web server responds without redirect directive.
Please note: if web server does not respond at all, status will be Ok. So may be you will need to setup another Master test to check web server (using regular URL or TCP test)

Regards
Alex
timn
Posts: 184
Joined: Thu Nov 20, 2003 9:57 am
Location: United States

Post by timn »

KS-Soft wrote:Please note: if web server does not respond at all, status will be Ok. So may be you will need to setup another Master test to check web server (using regular URL or TCP test)
That's it. Two tests. Thanks! :D
Post Reply