REFERER2DLF.IN(1)
π referer2dlf.in(1) β bestie's guide to the referer-to-DLF converter β¨
okay so picture this: you've got a Referer log file from your web server, and you want it to be a www DLF instead. That's literally the whole plot. Welcome to the referer2dlf.in(1) page from LogReport's Lire Documentation β she's short, she's iconic, let's go π
β¨ NAME β¨
referer2dlf β converts a referer web server log file into a www DLF π¦
πΈ SYNOPSIS πΈ
referer2dlf file
one argument, one file, no drama π
π DESCRIPTION π
referer2dlf converts Referer web server log files to the www DLF. That's the vibe. β¨
so the Referer log format? it was first implemented in the NSCA httpd server. and Apache can be configured to log in that format too, no cap π
heads up bestie: if you actually want to log referer information, the combined log format is a better format. like, genuinely. that's the tea π΅
π¦ REFERER LOG FORMAT π¦
The Referer log format logs the referer information in this exact shape:
I<uri> -> I<document>
and the fields mean this:
uriβ the referring URI. This is the content of the Referer request's header, which usually reflects the page where the user was before that request. iykyk πdocumentβ the local document that was referenced by that URI. This is the requested file without any query string. periodt βοΈ
π EXAMPLES π
To process a log as produced in the referer logformat:
$ referer2dlf < referer.log
and ngl, referer2dlf will be rarely used on its own β she's more of a behind-the-scenes main character. She's more likely called by lr_log2report:
$ lr_log2report referer < /var/log/httpd/referer.log
see? the group chat handles it for you π«Ά
π₯ SEE ALSO π₯
common2dlf(1)combined(2)modgzip2dlf(1)
π AUTHORS π
Joost van Baal <joostvb@logreport.org>, Francis J. Lacoste <flacoste@logreport.org> and Egon Willighagen <egonw@logreport.org>, based on an idea by Edwin Groothuis π
β VERSION β
$Id: referer2dlf.in,v 1.10 2006/07/23 13:16:37 vanbaal Exp $
π COPYRIGHT π
Copyright (C) 2000, 2001 Stichting LogReport Foundation LogReport@LogReport.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.
and that's the whole page, bestie π this one's Lire 2.1.1, dated 2025-09-28 β go forth and convert those referer logs, you absolute icon πΈπ
π¦ where this page comes from
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms