REFERER2DLF.IN(1)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’… 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 πŸ”₯


πŸ‘‘ 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 (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