Index: /trunk/server/fedora/config/etc/httpd/conf/httpd.conf
===================================================================
--- /trunk/server/fedora/config/etc/httpd/conf/httpd.conf	(revision 1315)
+++ /trunk/server/fedora/config/etc/httpd/conf/httpd.conf	(revision 1316)
@@ -145,5 +145,5 @@
 LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
 LogFormat "%h %l %u %t \"%r\" %>s %b" common
-LogFormat "%a %V" statistics
+LogFormat "%a %V %U" statistics
 #CustomLog /var/log/httpd/access_log combined
 CustomLog "|/etc/httpd/statistics_log_mitonly.sh" statistics
Index: /trunk/server/fedora/config/etc/httpd/statistics_log_mitonly.sh
===================================================================
--- /trunk/server/fedora/config/etc/httpd/statistics_log_mitonly.sh	(revision 1315)
+++ /trunk/server/fedora/config/etc/httpd/statistics_log_mitonly.sh	(revision 1316)
@@ -1,2 +1,11 @@
 #!/bin/sh
-awk '/^18\./ && ! /^18.181/ { print $2; fflush() }' >> /var/log/httpd/statistics_log
+perl -ne 'BEGIN { $| = 1 }
+next unless /^18\./;
+next if /^18\.181\./;
+chomp; split;
+if ($_[1] eq "scripts.mit.edu" && $_[2] =~ m|/(~[^/]+)/|) {
+print "$1\n";
+} else {
+print "$_[1]\n";
+}' >> /var/log/httpd/statistics_log
+#awk '/^18\./ && ! /^18.181/ { print $2; fflush() }' >> /var/log/httpd/statistics_log
