How to compile and build Apache modules on Windows using Visual Studio
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 …