Skip to content

Vex.Net

» Vex » Members » vex's Home » News » Web log file path munging

Web log file path munging

Document Actions
Using various subdomains other than "www" has become
Using various subdomains other than "www" has become
increasingly used by virtual hosting accounts, in order to
separate content, and utilise different servers for different
purposes (Zope vs. Apache, for example).

A problem with this is that when a person views their web
logs all of the root directory hits on all subdomains appear
to be the same path: there is no way to tell which subdomain
is being hit.

The log file parser has now been modified to insert the full
domain name that generated the hit at the beginning of
request path. So a hit to http://www.domain.x/index.html will
appear in the logs as /www.domain.x/index.html, while a hit
to http://zope.domain.x/index.html will appear
as /zope.domain.x/index.html. Previously both hits would
appear as just /index.html in the logs.

If this change is a problem for anyone, let us know and we'll
work out a way to filter the domains out of the path of your
logs. Since logs are used mostly for statistics purposes, we
hope that in most cases the change we have made will make
your statistics more precise.

This does not affect non-virtual hosting clients.
Created by vex
Last modified 2007-05-16 08:38 AM

Python Powered Powered by Zope Powered by Plone Postgresql RDBMS Power