That would get me some of the information that I wanted.  But that still
doesn't get me hourly information or more importantly virtual host
information.  I don't necesarilly need to know exactly where I've sent the
people, but I want to know how many people I've sent to a specific site.  I
know that I could do this with some alias commands, but the way that I'm
trying to set it up is so that I don't have to touch the thing again.  When
a request comes in to go to a site, mod_rewrite takes the domain name and
puts it into the log file.  Then I've got the logformat setup for that field
to be the virtual host, as well as the logfile line setup to do that.  This
makes it possible for me not to have to do anything when we add an external
link.  The field offices just need to know the generic format to access the
server, and it magically goes there, plus stats are magically generated for
it.  In fact I wish there was a way to break out the referrer reports by
virtual hosts!  (I'm trying to convince the business that they really don't
need that report, because I can't think of a way to do it!)   Any help would
be appreciated..

--shak


 Shakeel Sorathia
    Unix Team
[EMAIL PROTECTED]
  626-660-3502

> -----Original Message-----
> From: Stephen Turner [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 02, 2000 1:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [analog-help] 301 requests
> 
> 
> On Thu, 1 Jun 2000, Shakeel Sorathia wrote:
> 
> > ALL:  I've got a situation that I was wondering if anyone 
> would be able to
> > help me out with.
> > 
> > Basically I need to tell analog to do the same processing 
> on a status code
> > 301 as it would do with a 200.  I know that 301 is a 
> redirect, and it is
> > redirecting, however I need to get some information from 
> those redirects.
> > Let me give you the situation.
> > 
> > We have an apache server running mod_rewrite to track all 
> of our external
> > links.  A request is made to the server for an external 
> link, we log that
> > request, then send them a 301 with a location header.  When 
> the server logs
> > this information it logs it with a status code of 301.  I 
> could hardcode a
> > 200 there, or even run a pre-processor to change all 301's 
> to 200's, but I
> > was wondering if there might be a way to do it with analog. 
>  I don't mind
> > having to modify the source if it comes down to that.  
> > 
> 
> Can't you just read the Redirection Report?
> 
> -- 
> Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
>     Statistical Laboratory, Centre for Mathematical Sciences,
>     Wilberforce Road, Cambridge, CB3 0WB, England
> "8th March 2000. National No Smoking Day. Ash Wednesday." (On 
> a calendar)
> 
> --------------------------------------------------------------
> ----------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe" in the main BODY OF THE MESSAGE.
> List archived at 
> http://www.mail-archive.com/analog-> [EMAIL PROTECTED]/
> 
> 
> --------------------------------------------------------------
> ----------
> 
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to