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.
Test to ensure a port 443 redirect?
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
- "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