Blog

How to compile and build Apache modules on Windows using Visual Studio

June 10, 2011

Over the weekend, I had to do a new build of the mod_xsendfile module since I put a custom fix for the issue I was having. As it turns out, however, compiling Apache modules on Windows is not very straightforward at all (Linux, on the other hand, you just simply type apxs2 -cia some_apache_module.c).

After lots of Googling and trying different approaches, I finally got it to work by doing the following using …

Apache 2.2: Partial results are valid but processing is incomplete, unable to stat file (X-Sendfile)

June 9, 2011

Error Message:

(70008) Partial results are valid but processing is incomplete: xsendfile: unable to stat file: //server_name/folder/file

I deployed my code to our development box over the weekend which uses the X-Sendfile module for Apache to serve files but ran into this issue when I tried to download a file. The X-Sendfile module worked fine on my local machine. The only difference I could find was our development box was running Windows XP 64-bit and …

Costa Rica

May 28, 2011

I decided to go to Costa Rica for vacation early this month and had a great time! If you like the outdoors you will definitely love this place as there’s so much outdoor activities you could do here.

I kind of planned this trip last minute so I decided to join a group travel with Gap Adventures so I won’t have to think much about getting around, booking tours, and accommodations. You basically just check …

How to convert a Java keystore (JKS) to PEM format

May 8, 2011

I’m currently working on a new project where I need to write a service to serve static files to users. Our web application currently runs on Tomcat alone as we don’t have many users (internal users only) and most of the content is dynamic. But with this new project it just seems to make sense to put an Apache web server in front of Tomcat and use the mod_xsendfile module to serve the files, which …

VirtualBox: USB devices grayed out on Ubuntu 10.04 LTS

April 24, 2011

I bought a new GPS recently (Garmin nuvi 1350LMT) and wanted to upload new maps to it using Garmin’s MapSource software. However, the software only supports Windows and Mac so I had no choice but to do it on Windows. Since I already have a Windows XP virtual machine running on VirtualBox (which I use for work as our company’s remote access software doesn’t support Linux either) I figured I could probably just …