My first open source project

I recently released my old, long-term project called survey-rocket (a simple online survey tool) to google code. I started to refactor the code to make it more readable and maintainable. Although I invested many hours, there is still a long way to go until it can be considered good code. Basically I used this project… Continue reading My first open source project

Speed up your website served by apache httpd in 2 mins

Slow website? Have you tried turning on file compression? If not, this tweak can speed up your website in an instant. The apache documentation of the mod_deflate is one way to go. Add the following piece of configuration (that I have just copy-pasted from the apache docs website) to your virtual host config (it requires… Continue reading Speed up your website served by apache httpd in 2 mins

Published
Categorized as Web Tagged

captcha protect your website using Apache’s mod_rewrite to expel Google, Facebook and Co.

Problem: Yor website has three sources of traffic: SOMEONE: people browsing the web you don’t know FRIENDS: your friends MACHINES: search engines, facebook (when a link is posted, the content of the link is fetched by Facebook), etc. You want that your FRIENDS have full access to your website, whereas MACHINES should not. The SOMEONEs… Continue reading captcha protect your website using Apache’s mod_rewrite to expel Google, Facebook and Co.

Set URL of Tomcat Webapplication to ROOT in Eclipse

When you create a Dynamic Web Application in Eclipse and run it on Tomcat, the Website will be available trought http://localhost:8080/[PROJECT_NAME]. To “move” the application in the root (making it accessible on http://localhost:8080), go into the project’s properties, go to “Web Project Settings” and just enter “/” in the Context Root textbox. Done.