John Goggan wrote:
> Basically, I have foo.com, bar1.foo.com, and bar2.foo.com.  Requests for each
> are logged to their own access_log files.  However, for analog, I want to
> analyze them together, so I do something like this:
> 
> LOGFILE /logs/foo-access_log* http://foo.com
> LOGFILE /logs/bar1-access_log* http://bar1.foo.com
> LOGFILE /logs/bar2-access_log* http://bar2.foo.com
> 
> That pretty much works fine.  The problem is that I have done symbolic links
> underneath so that when someone does http://foo.com/bar1/filename.html, they
> are actually getting the same file that is at
> http://bar1.foo.com/filename.html.  I simply did a symbolic link from
> /httpd/foo.com/bar1 to /httpd/bar1.foo.com/.
> 
> Of course, in my logs, I see requests in all of the relevant reports for
> http://foo.com/bar1/filename.html -- but I would like those to be aliased
> somehow so that they always appear in the analog output as
> bar1.foo.com/filename.html.  So that I can better track what those requests
> were actually intended for.

LOGFILE foo  http://foo.com
LOGFILE bar1 http://foo.com/bar1
LOGFILE bar2 http://foo.com/bar2

FILEALIAS http://foo.com/bar1   http://bar1.foo.com  
FILEALIAS http://foo.com/bar1/* http://bar1.foo.com/*

FILEALIAS http://foo.com/bar2   http://bar2.foo.com  
FILEALIAS http://foo.com/bar2/* http://bar2.foo.com/*


-- 
Klaus Johannes Rusch
[EMAIL PROTECTED]
http://www.atmedia.net/KlausRusch/
+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to