On Thu, 2013-12-05 at 17:55 +1300, Amos Jeffries wrote:
> On 5/12/2013 1:41 p.m., Brendan Kearney wrote:
> > i am wondering if there is a logformat code that can be used to log the
> > URL (domain.tld or host.domain.tld) independent of the URI
> > (/path/to/file.ext?parameter)?  i am using %ru, which gives me the URL
> > and URI in one string.  %rp seems to be the URI, but i am not using that
> > right now and can only go by what i am reading in the docs.
> > 
> > i am looking to log the URL in a separate field from the URI so that in
> > a database of the log entries, the URL can be indexed for better search
> > and reporting performance.  is there an easy way to accomplish this?
> > 
> 
> There is no specific code for the URL domain at this point.
> 
> You can work around it with the Host: header. %{Host}>h
> 
> Amos
> 

i think i did consider that, but found that exception cases did exist
where URL != Host Header.  i think those cases were cloud or co-hosted
sites, or load balanced sites (geographically, such as CDNs).  i dont
have the logs anymore (or have to search further to find them), but i do
recall finding cases where that was not a usable work around.

not sure what an RFE requires, so how might one be requested for this
kind of feature?

Reply via email to