diff --git a/metrics/access/ingest.php b/metrics/access/ingest.php index 5582a537..700d229f 100755 --- a/metrics/access/ingest.php +++ b/metrics/access/ingest.php @@ -1,7 +1,7 @@ #!/usr/bin/php + + # need to point /etc/hosts to your IP to fool zypper + ServerName download.opensuse.org + + DocumentRoot /srv/www/vhosts/download.opensuse.org + + HostnameLookups Off + + UseCanonicalName Off + + CustomLog /var/log/download_access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \ + want:%{WANT}e give:%{GIVE}e r:%{MB_REALM}e %{X-MirrorBrain-Mirror}o \ + %{MB_CONTINENT_CODE}e:%{MB_COUNTRY_CODE}e ASN:%{ASN}e P:%{PFX}e \ + %I %O size:%{MB_FILESIZE}e %{Range}i \ + \"%{X-ZYpp-AnonymousId}i\" \"%{X-ZYpp-DistributionFlavor}i\"" + + + + Options Indexes FollowSymLinks + + AllowOverride None + + + Require all granted + + + Order allow,deny + Allow from all + + + + + + +# vim: syntax=apache