Server

Assignment to read-only properties is not allowed in strict mode


Using JavaScript to apply CSS to Internet Explorer/Edge returns ‘Assignment to read-only properties is not allowed in strict mode’ I encounted a silly mistake on my behalf the other day when programming some JavaScript DOM. This simple JS code to apply a style to a HTML element works fine in Chrome and Firefox. But breaks in Microsoft’s… Continue reading Assignment to read-only properties is not allowed in strict mode

Server

Turn a Raspberry Pi into an always on, BitTorrent client with Snappy Ubuntu Core


Introduction In this guide, I will walk you through on how to easily turn your Raspberry Pi into a dedicated, always on BitTorrent client. The Pi is low powered, quiet and makes a perfect candidate for this task. What makes this walkthrough unique though is we will use Snappy Ubuntu Core to create an Internet of… Continue reading Turn a Raspberry Pi into an always on, BitTorrent client with Snappy Ubuntu Core

nginx · Server · Tomcat

Nginx as a Reverse-Proxy to Apache Tomcat


Why a Proxy? Apache’s Tomcat is a complex beast whose primary role is to render JavaServer Pages. While it can be configured to use and serve the modern web it’s often an unnecessarily complex procedure. By using a dedicated reverse-proxy server such as nginx it allows you to separate web applications from the task of web serving. Use a Solo Instance of… Continue reading Nginx as a Reverse-Proxy to Apache Tomcat

Linux · Security · Server · Tomcat

Secure and harden Apache Tomcat’s SSL/TLS


Introduction In this guide I will walk through the process of hardening HTTPS connectors used by Apache Tomcat. As unfortunately the default configuration of Ubuntu 14.04 LTS using Tomcat 7 and OpenJDK 7 are vulnerable to a number of attacks and weak encryptions. You can test your own site’s HTTPS implementation against these weaknesses at… Continue reading Secure and harden Apache Tomcat’s SSL/TLS