{"id":307,"date":"2008-03-14T16:53:46","date_gmt":"2008-03-14T14:53:46","guid":{"rendered":"http:\/\/security-planet.de\/2008\/03\/14\/pix-logging-architecture-mit-lighttpd\/"},"modified":"2008-03-14T16:53:46","modified_gmt":"2008-03-14T14:53:46","slug":"pix-logging-architecture-mit-lighttpd","status":"publish","type":"post","link":"https:\/\/cyber-fi.net\/index.php\/2008\/03\/14\/pix-logging-architecture-mit-lighttpd\/","title":{"rendered":"PIX Logging Architecture mit Lighttpd"},"content":{"rendered":"<p>In der Anleitung von <a href=\"http:\/\/sourceforge.net\/projects\/pixla\/\">PLA<\/a> wird als Webserver nur der Apache mit einem Konfigurationsbeispiel angegeben. Da mir <a href=\"http:\/\/www.lighttpd.net\/\">Lighty<\/a> aber viel besser gef\u00e4llt, habe ich die letzte PLA-Installation mit diesem Webserver gemacht. Die einzige kleine H\u00fcrde ist dabei die CGI-Zuweisung.<\/p>\n<p>PLA liegt bei mir unter <strong>\/var\/www\/pla2\/<\/strong>, der images-Ordner unter <strong>\/var\/www\/pla2\/images\/<\/strong>.<\/p>\n<p>Die Konfiguration des VHosts hat folgenden Aufbau:<\/p>\n<pre class=\"code\"><code>$HTTP[\"host\"] == \"pla.example.com\" {\n        server.name = \"pla.example.com\"\n        server.document-root = \"\/var\/www\/pla2\/\"\n        accesslog.filename = \"\/var\/log\/lighttpd\/pla2.log\"\n        $HTTP[\"url\"] !~ \"^\/images\" {\n                cgi.assign = ( \"\" =&gt; \"\" )\n        }\n}<\/code><\/pre>\n<p>Die ben\u00f6tigten Perl-Module kann man unter Ubuntu mit<\/p>\n<pre class=\"code\"><code>sudo aptitude install libdbi-perl libcgi-perl libdbd-mysql-perl libdate-manip-perl libfile-tail-perl libgd-graph-perl<\/code><\/pre>\n<p>installieren. (Das Modul Net::Whois::IP habe ich bei den Ubuntu Paketen nicht gefunden, das kann aber von CPAN installiert werden).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In der Anleitung von PLA wird als Webserver nur der Apache mit einem Konfigurationsbeispiel angegeben. Da mir Lighty aber viel besser gef\u00e4llt, habe ich die letzte PLA-Installation mit diesem Webserver gemacht. Die einzige kleine H\u00fcrde ist dabei die CGI-Zuweisung. PLA liegt bei mir unter \/var\/www\/pla2\/, der images-Ordner unter \/var\/www\/pla2\/images\/. Die Konfiguration des VHosts hat folgenden <\/p>\n<div class=\"read-more-text\"><a href=\"https:\/\/cyber-fi.net\/index.php\/2008\/03\/14\/pix-logging-architecture-mit-lighttpd\/\" class=\"read-more\">continue reading<\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":"","footnotes":""},"categories":[15],"tags":[372,471,474],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-security","tag-lighttpd","tag-pix-logging-architecture","tag-pla"],"_links":{"self":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":0,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"wp:attachment":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}