Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Logging stuffs

  • Loading branch information...
commit 900b1bad973fb60ea295bbb76e3b5a5ebb2a75ee 1 parent 1915214
David Cantrell authored
Showing with 25 additions and 11 deletions.
  1. +12 −11 analog.cfg
  2. +13 −0 templates/cpandeps.tt2
View
23 analog.cfg
@@ -21,7 +21,7 @@ LOGFILE /var/log/apache2/cpandeps.cantrell.org.uk-access.log*
# LOGFILE /old/logs/access_log.*
OUTFILE /web/cpandeps.cantrell.org.uk/logs/index.html
LOCALCHARTDIR logs/images/
-CHARTDIR logs/images/
+CHARTDIR images/
IMAGEDIR images/
HOSTNAME "deps.cpantesters.org"
DNSFILE /tmp/analog-dns-cache
@@ -75,16 +75,17 @@ SEARCHENGINE http://*nlsearch.*/* qr
SEARCHENGINE http://*dmoz.*/* search
SEARCHENGINE http://*/netfind* query
SEARCHENGINE http://*/pursuit query
-ROBOTINCLUDE REGEXPI:robot
-ROBOTINCLUDE REGEXPI:spider
-ROBOTINCLUDE REGEXPI:crawler
-ROBOTINCLUDE Googlebot*
-ROBOTINCLUDE msnbot*
-ROBOTINCLUDE Infoseek*
-ROBOTINCLUDE Scooter*
-ROBOTINCLUDE *Slurp*
-ROBOTINCLUDE *Validator*
-ROBOTINCLUDE Ultraseek*
+BROWEXCLUDE REGEXPI:(robot|spider|crawler|^googlebot|^msnbot|^infoseek|^scooter|slurp|validator|^ultraseek)
+# ROBOTINCLUDE REGEXPI:robot
+# ROBOTINCLUDE REGEXPI:spider
+# ROBOTINCLUDE REGEXPI:crawler
+# ROBOTINCLUDE Googlebot*
+# ROBOTINCLUDE msnbot*
+# ROBOTINCLUDE Infoseek*
+# ROBOTINCLUDE Scooter*
+# ROBOTINCLUDE *Slurp*
+# ROBOTINCLUDE *Validator*
+# ROBOTINCLUDE Ultraseek*
TYPEALIAS .html ".html [Hypertext Markup Language]"
TYPEALIAS .htm ".htm [Hypertext Markup Language]"
TYPEALIAS .shtml ".shtml [Server-parsed HTML]"
View
13 templates/cpandeps.tt2
@@ -1,6 +1,19 @@
<html><head><title>CPAN dependencies and test results checker[% IF module %]: [% module %][% END %]</title>
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
+
+<!-- google analytics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-15765130-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+
<body>
<script type='text/javascript'><!--
var what_i_hid_when = [];
Please sign in to comment.
Something went wrong with that request. Please try again.