Getting around non SES wildcard problem with CF on Tomcat/JBoss

I'm messing around with Railo and when I tried this blog I hit a big fat error.

Seems that without the .cfm/* wildcard mapping, the index.cfm/somedate/somepost type stuff won't work.

To get around it, I'd heard someone say something about URL rewriting.

I manually tried just adding a ? after the index.cfm, and viola, things seem to work, so then I added this rewrite rule to my apache virtual host configuration:

RewriteRule ^\/(.+)\.cfm\/(.+)? ajp://127.0.0.1:8009/cfusion/coldshen/$1.cfm\?$2 [P,L]

pretty straightforward; I just replace the .cfm/somedate with .cfm?/somedate (which I had tested earlier, neh?).

Seems like everything is running fine now. So there you go, future people who may or may not read this, but probably at least my future self.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.9.3.000. Contact Blog Owner