But this seem to return ‘OK’ as long as the directory exists and doesn’t actually check the page that loads there for the regular expression I specified.
Does anyone know if this is possible, or if I am doing something wrong? Any help would be greatly appreciated! Thanks.
I tried what you said but then your suggestion made me realize my method for testing was flawed. I assumed if I tried this check on a directory with no default page (index.html or what have you) that I should not be able to find on that page, but of course it returns a directory listing page which does have tags – so the check was working correctly, and my logic was not.
When I changed the search string to something like ‘blahblahblah’, the test correctly failed.