db55f2e3b74598ceaa06bfdd0af1e9ab1f054290
hiram
  Fri Jun 15 15:17:54 2012 -0700
break up the genomewiki URL to avoid detection via google robots
diff --git src/hg/lib/web.c src/hg/lib/web.c
index 4622e13..53187d4 100644
--- src/hg/lib/web.c
+++ src/hg/lib/web.c
@@ -1022,32 +1022,32 @@
 	struct tm *tm = localtime(&now);
 	localTime = sqlUnixTimeToDate(&now,FALSE); /* FALSE == localtime */
 	fprintf(f, "%s, %s, %s %s, %s\n", scriptName, ip, localTime,
 	    tm->tm_isdst ? tzname[1] : tzname[0], trashFile);
 	fclose(f);
 	chmod(trashFile, 0666);
 	pid_t pid0 = fork();
 	if (0 == pid0)	/* in child */
 	    {
 	    close(STDOUT_FILENO); /* do not hang up Apache finish for parent */
 	    expireSeconds = 0;	/* no error message from this exit */
 	    (void) signal(SIGALRM, cgiApoptosis);
 	    (void) alarm(6);	/* timeout here in 6 seconds */
 #include "versionInfo.h"
 	    char url[1024];
-	    safef(url, sizeof(url), "%s%s",
-	"http://genomewiki.ucsc.edu/cgi-bin/useCount?version=browser.v",
+	    safef(url, sizeof(url), "%s%s%s%s%s%s", "http://",
+	"genomewiki.", "ucsc.edu/", "cgi-bin/useCount?", "version=browser.v",
 		CGI_VERSION);
 
 	    /* 6 second alarm will exit this page fetch if it does not work */
 	    (void) htmlPageGetWithCookies(url, NULL); /* ignore return */
 
 	    exit(0);
 	    }	/* child of fork has done exit(0) normally or via alarm */
 	}		/* trash file open OK */
     if (expireSeconds > 0)
 	{
 	(void) signal(SIGALRM, cgiApoptosis);
 	(void) alarm(expireSeconds);	/* CGI timeout */
 	}
     }			/* an actual CGI binary */
 }			/* phoneHome()	*/