validator/httpd/cgi-bin check,1.351,1.352

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv22375

Modified Files:
	check 
Log Message:
tackling http://www.w3.org/Bugs/Public/show_bug.cgi?id=932

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -d -r1.351 -r1.352
--- check	6 Nov 2004 11:46:44 -0000	1.351
+++ check	12 Nov 2004 07:43:02 -0000	1.352
@@ -1151,7 +1151,11 @@
   my $uri = &ent(shift);
   my $code = &ent(shift);
   my $message = &ent(shift);
-
+  my $suggestion = 'Please make sure you have entered the URL correctly.';
+  if ($code eq "500")
+  { 
+    $suggestion = $suggestion.'If you made recent changes to your domain name (DNS) configuration, you may also want to <a href="http://www.squish.net/dnscheck/">check that your domain records are correct, or ask your hosting company to do so.'
+  }
   return <<"EOF";
   <p>
     I got the following unexpected response when trying to
@@ -1163,7 +1167,7 @@
   </blockquote>
 
   <p>
-    Please make sure you have entered the URL correctly.
+    $suggestion
   </p>
 
 EOF

Received on Friday, 12 November 2004 07:43:04 UTC