comments on logfiles
This commit is contained in:
parent
4247368298
commit
7b27411e2a
11
Makefile
11
Makefile
@ -1,4 +1,4 @@
|
||||
POSTS = $(shell find ./posts -mindepth 1 -type d)
|
||||
POSTS = $(shell find ./posts -mindepth 1 -type d | sort -r)
|
||||
PAGES = $(shell find ./pages -mindepth 1 -type d)
|
||||
|
||||
.PHONY: all
|
||||
@ -13,21 +13,22 @@ posts:
|
||||
pages:
|
||||
for d in $(PAGES); do (echo $$d; cd $$d; $(MAKE) -f ../../m4/posts.mk); done
|
||||
|
||||
.PHONY: plain
|
||||
plain:
|
||||
cd ./plain; $(MAKE)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
for d in $(POSTS); do (cd $$d; $(MAKE) -f ../../m4/posts.mk cleanposts); done
|
||||
for d in $(PAGES); do (cd $$d; $(MAKE) -f ../../m4/posts.mk cleanposts); done
|
||||
-rm -f toc.inc
|
||||
-rm -f abstracts.inc
|
||||
-rm -f index.html
|
||||
|
||||
.PHONY: index
|
||||
index: posts pages
|
||||
index: posts pages plain
|
||||
-rm -f toc.inc
|
||||
-rm -f abstracts.inc
|
||||
for d in $(PAGES); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexTOCEntry.m4) >> toc.inc; done
|
||||
for d in $(POSTS); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexTOCEntry.m4) >> toc.inc; done
|
||||
for d in $(POSTS); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexAbstractsEntry.m4) >> abstracts.inc; done
|
||||
m4 ./m4/macros.m4 index.m4 > index.html
|
||||
|
||||
.PHONY: install
|
||||
|
@ -1,23 +0,0 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<h3>2013-06-26 - A Web-controlled Picture Frame</h3>
|
||||
A father-and-son weekend project with an Arduino, a stepper motor and a couple of family photos.<br/>
|
||||
<a href="./posts/2013-06-26.01/article.html">read more</a>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<h3>2013-06-27 - Children Protection for Postfix-based EMail-Server</h3>
|
||||
<br/>
|
||||
<a href="./posts/2013-06-27.01/article.html">read more</a>
|
||||
</p>
|
65
index.html
65
index.html
@ -1,71 +1,60 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>my homepage</title>
|
||||
<title>Projects - just for fun</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<h1>Projects - just for fun</h1>
|
||||
|
||||
<p>
|
||||
I moved my blog away from wordpress.com. Reason is simple: I've no clue of DSGVO and I don't want to spend any time in it. And since I don't know which date wordpress.com is collecting and processing I stopped using it.
|
||||
</p>
|
||||
<p>
|
||||
Here, I've everything under my on control and I know exactly which of your data is processed: nearly no data. There are no cookies, no advertising banners, no web analytics. Just the webserver is writing a logfile, which is rotated away and deleted after 14 days. However, this logfile is not analysed or computed automatically, I just consult it occasionally in case of problems. To learn more about this logfile, see <a href="plain/logfile.html">here</a>. If this is not okay for you, just go away.
|
||||
</p>
|
||||
|
||||
<h2>Overview</h2>
|
||||
<ul>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<a href="./pages/impressum/article.html">Impressum</a><br/>
|
||||
|
||||
<li> - <a href="./pages/impressum/article.html">Impressum</a></li>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<a href="./pages/keys/article.html">Keys</a><br/>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li> - <a href="./pages/keys/article.html">Keys</a></li>
|
||||
|
||||
<li>
|
||||
2013-06-27 -<a href="./posts/2013-06-27.01/article.html">Children Protection for Postfix-based EMail-Server</a><br/>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li>2013-06-26 - <a href="./posts/2013-06-26.01/article.html">A Web-controlled Picture Frame</a></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li>2013-06-27 - <a href="./posts/2013-06-27.01/article.html">Children Protection for Postfix-based EMail-Server</a></li>
|
||||
<li>
|
||||
2013-06-26 -<a href="./posts/2013-06-26.01/article.html">A Web-controlled Picture Frame</a><br/>
|
||||
A father-and-son weekend project with an Arduino, a stepper motor and a couple of family photos.
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>Abstracts</h2>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<h3>2013-06-26 - A Web-controlled Picture Frame</h3>
|
||||
A father-and-son weekend project with an Arduino, a stepper motor and a couple of family photos.<br/>
|
||||
<a href="./posts/2013-06-26.01/article.html">read more</a>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<h3>2013-06-27 - Children Protection for Postfix-based EMail-Server</h3>
|
||||
<br/>
|
||||
<a href="./posts/2013-06-27.01/article.html">read more</a>
|
||||
</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
9
index.m4
9
index.m4
@ -2,11 +2,16 @@ HEADER
|
||||
|
||||
<h1>Projects - just for fun</h1>
|
||||
|
||||
<p>
|
||||
I moved my blog away from wordpress.com. Reason is simple: I've no clue of DSGVO and I don't want to spend any time in it. And since I don't know which date wordpress.com is collecting and processing I stopped using it.
|
||||
</p>
|
||||
<p>
|
||||
Here, I've everything under my on control and I know exactly which of your data is processed: nearly no data. There are no cookies, no advertising banners, no web analytics. Just the webserver is writing a logfile, which is rotated away and deleted after 14 days. However, this logfile is not analysed or computed automatically, I just consult it occasionally in case of problems. To learn more about this logfile, see <a href="plain/logfile.html">here</a>. If this is not okay for you, just go away.
|
||||
</p>
|
||||
|
||||
<h2>Overview</h2>
|
||||
<ul>
|
||||
include(`toc.inc')
|
||||
</ul>
|
||||
|
||||
<h2>Abstracts</h2>
|
||||
include(`abstracts.inc')
|
||||
FOOTER
|
@ -1,5 +0,0 @@
|
||||
<p>
|
||||
<h3>DATE - TITLE</h3>
|
||||
ABSTRACT<br/>
|
||||
<a href="URL">read more</a>
|
||||
</p>
|
@ -1 +1,4 @@
|
||||
<li>DATE - <a href="URL">TITLE</a></li>
|
||||
<li>
|
||||
ifdef(`DATE', `DATE -')<a href="URL">TITLE</a><br/>
|
||||
ifdef(`ABSTRACT', `ABSTRACT')
|
||||
</li>
|
||||
|
@ -1,7 +1,7 @@
|
||||
define(`HEADER', `
|
||||
<html>
|
||||
<head>
|
||||
<title>my homepage</title>
|
||||
<title>Projects - just for fun</title>
|
||||
</head>
|
||||
<body>
|
||||
')
|
||||
@ -9,5 +9,3 @@ define(`FOOTER', `
|
||||
</body>
|
||||
</html>
|
||||
')
|
||||
define(`ABSTRACT', `')
|
||||
define(`DATE', `')
|
@ -1,6 +1,6 @@
|
||||
include ../../m4/mkfile.mk
|
||||
|
||||
article.html: ../../m4/macros.m4 ../../m4/post.m4 article.m4
|
||||
article.html: article.m4
|
||||
m4 ../../m4/macros.m4 article.m4 ../../m4/post.m4 > article.html
|
||||
|
||||
.PHONY: cleanposts
|
||||
|
@ -2,23 +2,24 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>my homepage</title>
|
||||
<title>Projects - just for fun</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
Wolfgang Hottgenroth
|
||||
Wolfgang Hottgenroth<br/>
|
||||
|
||||
woho@hottis.de
|
||||
woho@hottis.de<br/>
|
||||
|
||||
<a href="https://gitlab.com/wolutator">https://gitlab.com/wolutator</a>
|
||||
<a href="https://gitlab.com/wolutator">https://gitlab.com/wolutator</a><br/>
|
||||
|
||||
<a href="https://www.xing.com/profile/Wolfgang_Hottgenroth">https://www.xing.com/profile/Wolfgang_Hottgenroth</a>
|
||||
<a href="https://www.xing.com/profile/Wolfgang_Hottgenroth">https://www.xing.com/profile/Wolfgang_Hottgenroth</a><br/>
|
||||
|
||||
<a href="https://twitter.com/wollud1969">https://twitter.com/wollud1969</a>
|
||||
<a href="https://twitter.com/wollud1969">https://twitter.com/wollud1969</a><br/>
|
||||
|
||||
<a href="https://keybase.io/wolutator/">https://keybase.io/wolutator/</a><br/>
|
||||
|
||||
|
||||
</body>
|
||||
|
@ -1,12 +1,14 @@
|
||||
define(`TITLE', `Impressum')
|
||||
define(`CONTENT', `
|
||||
Wolfgang Hottgenroth
|
||||
Wolfgang Hottgenroth<br/>
|
||||
|
||||
woho@hottis.de
|
||||
woho@hottis.de<br/>
|
||||
|
||||
<a href="https://gitlab.com/wolutator">https://gitlab.com/wolutator</a>
|
||||
<a href="https://gitlab.com/wolutator">https://gitlab.com/wolutator</a><br/>
|
||||
|
||||
<a href="https://www.xing.com/profile/Wolfgang_Hottgenroth">https://www.xing.com/profile/Wolfgang_Hottgenroth</a>
|
||||
<a href="https://www.xing.com/profile/Wolfgang_Hottgenroth">https://www.xing.com/profile/Wolfgang_Hottgenroth</a><br/>
|
||||
|
||||
<a href="https://twitter.com/wollud1969">https://twitter.com/wollud1969</a>
|
||||
<a href="https://twitter.com/wollud1969">https://twitter.com/wollud1969</a><br/>
|
||||
|
||||
<a href="https://keybase.io/wolutator/">https://keybase.io/wolutator/</a><br/>
|
||||
')
|
@ -2,10 +2,9 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>my homepage</title>
|
||||
<title>Projects - just for fun</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
12
plain/Makefile
Normal file
12
plain/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
include ../m4/mkfile.mk
|
||||
|
||||
|
||||
%.html : %.m4
|
||||
m4 ../m4/macros.m4 $< > $@
|
||||
|
||||
|
||||
logfile.html: logfile.m4
|
||||
|
||||
.PHONY: cleanplain
|
||||
cleanplain:
|
||||
-rm -f logfile.html
|
73
plain/logfile.html
Normal file
73
plain/logfile.html
Normal file
@ -0,0 +1,73 @@
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Projects - just for fun</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<p>
|
||||
This homepage is hosted on a standard Debian Stretch installation with a standard Apache webserver running on it.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The logfile is written using this configuration statement:
|
||||
|
||||
<pre>
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
||||
</pre>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The meaning of the format string elements are:
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>%h</td>
|
||||
<td>Remote hostname or IP address. This is your address.</td>
|
||||
</tr><tr>
|
||||
<td>%l</td>
|
||||
<td>Remote logname, if provided by identd. This is usually empty and represented by a dash.</td>
|
||||
</tr><tr>
|
||||
<td>%u</td>
|
||||
<td>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.</td>
|
||||
</tr><tr>
|
||||
<td>%t</td>
|
||||
<td>The date and time of the request.</td>
|
||||
</tr><tr>
|
||||
<td>%r</td>
|
||||
<td>The first line of the request, usually contains the URL you are requesting.</td>
|
||||
</tr><tr>
|
||||
<td>$>s</td>
|
||||
<td>The final status code of this request.</td>
|
||||
</tr><tr>
|
||||
<td>%O</td>
|
||||
<td>Bytes sent including headers.</td>
|
||||
</tr><tr>
|
||||
<td>%{Referer}i</td>
|
||||
<td>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, ...).</td>
|
||||
</tr><tr>
|
||||
<td>%{User-Agent}i</td>
|
||||
<td>What your browser puts into the variable User-Agent of your request, usually its own software identification.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
A typical log entry looks like this:
|
||||
|
||||
<pre>
|
||||
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"
|
||||
</pre>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For more information consult the Apache documentation at <a href="http://httpd.apache.org/docs/2.4/mod/mod_log_config.html">http://httpd.apache.org/docs/2.4/mod/mod_log_config.html</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
63
plain/logfile.m4
Normal file
63
plain/logfile.m4
Normal file
@ -0,0 +1,63 @@
|
||||
HEADER
|
||||
|
||||
<p>
|
||||
This homepage is hosted on a standard Debian Stretch installation with a standard Apache webserver running on it.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The logfile is written using this configuration statement:
|
||||
|
||||
<pre>
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
||||
</pre>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The meaning of the format string elements are:
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>%h</td>
|
||||
<td>Remote hostname or IP address. This is your address.</td>
|
||||
</tr><tr>
|
||||
<td>%l</td>
|
||||
<td>Remote logname, if provided by identd. This is usually empty and represented by a dash.</td>
|
||||
</tr><tr>
|
||||
<td>%u</td>
|
||||
<td>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.</td>
|
||||
</tr><tr>
|
||||
<td>%t</td>
|
||||
<td>The date and time of the request.</td>
|
||||
</tr><tr>
|
||||
<td>%r</td>
|
||||
<td>The first line of the request, usually contains the URL you are requesting.</td>
|
||||
</tr><tr>
|
||||
<td>$>s</td>
|
||||
<td>The final status code of this request.</td>
|
||||
</tr><tr>
|
||||
<td>%O</td>
|
||||
<td>Bytes sent including headers.</td>
|
||||
</tr><tr>
|
||||
<td>%{Referer}i</td>
|
||||
<td>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, ...).</td>
|
||||
</tr><tr>
|
||||
<td>%{User-Agent}i</td>
|
||||
<td>What your browser puts into the variable User-Agent of your request, usually its own software identification.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
A typical log entry looks like this:
|
||||
|
||||
<pre>
|
||||
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"
|
||||
</pre>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For more information consult the Apache documentation at <a href="http://httpd.apache.org/docs/2.4/mod/mod_log_config.html">http://httpd.apache.org/docs/2.4/mod/mod_log_config.html</a>.
|
||||
</p>
|
||||
|
||||
|
||||
FOOTER
|
@ -5,10 +5,9 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>my homepage</title>
|
||||
<title>Projects - just for fun</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -4,10 +4,9 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>my homepage</title>
|
||||
<title>Projects - just for fun</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
34
toc.inc
34
toc.inc
@ -1,25 +1,33 @@
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<a href="./pages/impressum/article.html">Impressum</a><br/>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<a href="./pages/keys/article.html">Keys</a><br/>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li> - <a href="./pages/impressum/article.html">Impressum</a></li>
|
||||
|
||||
<li>
|
||||
2013-06-27 -<a href="./posts/2013-06-27.01/article.html">Children Protection for Postfix-based EMail-Server</a><br/>
|
||||
|
||||
|
||||
|
||||
<li> - <a href="./pages/keys/article.html">Keys</a></li>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li>2013-06-26 - <a href="./posts/2013-06-26.01/article.html">A Web-controlled Picture Frame</a></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li>2013-06-27 - <a href="./posts/2013-06-27.01/article.html">Children Protection for Postfix-based EMail-Server</a></li>
|
||||
<li>
|
||||
2013-06-26 -<a href="./posts/2013-06-26.01/article.html">A Web-controlled Picture Frame</a><br/>
|
||||
A father-and-son weekend project with an Arduino, a stepper motor and a couple of family photos.
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user