Making your mod_security Apache log readable
Category: Programming
Lorem Ipsum
Building a RESTful API
API (Application Programming Interface) is a set of functions that allows the creation of applications that access the features or data of a service. A RESTful API uses HTTP requests to GET, PUT, POST and DELETE data.
Server room temperature surveillance
I’m kind of a control freak when it comes to my servers, lately the temperatures in Sweden reaches well above 30 degrees celsius and i need to get a warning in case the temp goes below 23 or above 26.
LXC 2.x Web GUI
LXC is an abbreviation for “Linux Containers“ which is a feature in the linux kernel, it allows you to install multiple Linux installations running on the same kernel. It’s kind of like chroot but much more powerful as it allows for process and network isolation. I’ve seen that there is a fancy web GUI for… Continue reading LXC 2.x Web GUI
Preprocessing with mod_rewrite and PHP
Ever had the need to publish a large set of HTML files, images and javascripts with transparent user management? My first thought was Basic Auth with htpasswd and htgroups, there’s even an SQL extension so this seems like a good solution, right?
Git Cheat Sheet
Create a git project with a remote repository
ipset – Blacklisting large sets
Blacklisting large amounts of IPs, i use this with the iptables “blocked logging” in ABF (AsBraFirewall).
Check yourself
How do you know if your daemons go down? Some use services like pingdom but i’d rather check myself.
2-way encryption with AES 256bit (CBC) in PHP
PHP-Class for encryption of text. I use it for safe storage of information in databases.
Measuring web page speeds
Collection of scripts to measure what is making your page slow