[Midnightbsd-cvs] src: index.cgi: remove w3 check crap, fix hostnames

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Mar 6 23:44:04 EST 2008


Log Message:
-----------
remove w3 check crap, fix hostnames

Modified Files:
--------------
    src/tools/tools/tinderbox/www:
        index.cgi (r1.3 -> r1.4)

-------------- next part --------------
Index: index.cgi
===================================================================
RCS file: /home/cvs/src/tools/tools/tinderbox/www/index.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -L tools/tools/tinderbox/www/index.cgi -L tools/tools/tinderbox/www/index.cgi -u -r1.3 -r1.4
--- tools/tools/tinderbox/www/index.cgi
+++ tools/tools/tinderbox/www/index.cgi
@@ -148,16 +148,16 @@
     $| = 1;
     if ($ENV{'GATEWAY_INTERFACE'}) {
 	print "Content-Type: text/html; charset=utf-8\n\n";
-	$realthing = ($ENV{'SERVER_NAME'} eq 'tinderbox.freebsd.org');
+	$realthing = ($ENV{'SERVER_NAME'} eq 'tinderbox.midnightbsd.org');
     } else {
 	my $host = hostname();
-	$realthing = ($host eq 'dma.des.no');
+	$realthing = ($host eq 'defiant.midnightbsd.org');
     }
 
     if ($realthing) {
-	$greeting = "<a href='http://tinderbox.freebsd.org/'>tinderbox.freebsd.org</a>";
+	$greeting = "<a href='http://tinderbox.midnightbsd.org/'>tinderbox.midnightbsd.org</a>";
     } else {
-	$greeting = "For official Tinderbox logs, see <a href='http://tinderbox.freebsd.org/'>here</a>";
+	$greeting = "For official Tinderbox logs, see <a href='http://tinderbox.midnightbsd.org/'>here</a>";
     }
 
     local *DIR;
@@ -211,14 +211,6 @@
         </td>
       </tr>
     </table>
-    <!-- p>
-      <a href='http://validator.w3.org/check/referer'><img
-          src='valid-xhtml10.png'
-          alt='Valid XHTML 1.0!' height='31' width='88' /></a>
-      <a href='http://jigsaw.w3.org/css-validator/check/referer'><img
-          src='valid-css.png'
-          alt='Valid CSS!' height='31' width='88' /></a>
-    </p -->
   </body>
 </html>
 ";


More information about the Midnightbsd-cvs mailing list