I’m John C Bland II

Husband, Father, Tech Author, Deacon.
Founder of Katapult Media, and full-stack polyglot developer.
Political Free Agents Podcast Host.

I create. I launch.

YouTube Channel

I post regular fun on YouTube like me playing the bass and anything else I find fun. 

Get Something Built

All project work goes through Katapult Media. Business is open. Let’s chat.

CFWheels URLRewriting on Tomcat through Apache

The initial post worked but submitted forms did not. :-/ What’s a web app without form submission? (rhetorical)

So, the configs are updated below and I have tested this locally on Tomcat 7 and on a centOS server w/ Tomcat 6. The issue was with the 2nd to last line and the last. They needed to be swapped. The 2nd to last forces a 301. Swap them…all good! 😀

I really need to stop with the long titles but they are so informative! 😀

This has been a major pain for me and others, it seems. I think I found a solution and would like to lay it out for you and get feedback to see if it works for others as well.


CFWheels: Redirecting non-authorized access after login

CFWheels always seems to make me smile with certain features. It isn’t 100% perfect (what is?) but it really makes CF dev fun. In this case, we’re taking a simple scenario of a user attempting to access a non-public url while not authorized to login. It could be from a bookmark or them simply trying to “hack” your system. Either way, once the user logs in they should automatically get to the page they want. Here’s how you can do it in Wheels.