# Projects - just for fun

This homepage is hosted on a standard Debian Stretch installation with a standard Apache webserver running on it.

The logfile is written using this configuration statement:

    LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined

The meaning of the format string elements are:

%h | Remote hostname or IP address. This is your address.
%l | Remote logname, if provided by identd. This is usually empty and represented by a dash.
%u | Remote username if the request was authenticated. This is, what you would enter in a basic authentication dialog. The public part of this homepage has no authenticated areas.
%t | The date and time of the request.
%r | The first line of the request, usually contains the URL you are requesting.
$>s | The final status code of this request.
%O | Bytes sent including headers.
%{Referer}i | What your browser puts into the variable Referer of your request. This is usually the address of the page which sent you here, like a search engine (Google, ...).
%{User-Agent}i | What your browser puts into the variable User-Agent of your request, usually its own software identification.

A typical log entry looks like this:

    217.7.123.85 - - [02/May/2018:14:53:05 +0200] "GET / HTTP/1.1" 200 4984 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36"

For more information consult the Apache documentation at http://httpd.apache.org/docs/2.4/mod/mod_log_config.html.