I'm building an isapi filter that will grab any url requests with the prefix "http://localhost/" and redirect that url request to my message page "http://localhost/default.html."
Here's the solution:
if(urlString.Find("/") != -1) { urlString.Replace(urlString, "/default.html");
the answer is: if(urlString.Find("/") != -1) { urlString.Replace(urlString, "/default.html");