2006.Apr.30
Filed under: Activism, Programming, Site — jon @ 20:16

SSL certificates for a web site are pretty cheap, as is SSL-capable web hosting. However, for development reasons, I need a wildcard certificate and refuse to pay the several hundred dollars (annual) fee to a commercial CA to get one.

Long story short: if you’re trying to log in here (so you can post and such), your browser is probably warning you that my SSL certificate isn’t signed by a Certificate Authority that the browser knows. If you wish to solve this and help support a free community-based CA (CAcert.org), read on. If not, you can skip this.

To import the CAcert’s Root Certificate (allowing you to determine if CAcert’s customer certificates are valid or not), please visit their root certificate page.

(more…)

2006.Apr.16
Filed under: Entertainment, Links — jon @ 15:22

Do you know what the Easter Bunny does the other 364 days of the year?

2006.Apr.9
Filed under: Personal, Site — jon @ 21:35

I’ve been meaning to post a few words of thanks to Diann here and properly give her credit for (among things too numerous to count) a lot of my site design ideas and motivation. She was the one who turned me on to div-based layouts, accessibility issues, and a host of other interesting matters. I teach her PHP and she teaches me CSS; quite the team!

Filed under: Programming — jon @ 11:50

While experimenting with a new style of looking at mySQL programming, I threw together a simple To-Do application based on AJAX. I don’t claim it will gracefully degrade to non-capable browsers (if you have javascript off, etc.), but it should work in all the major current browsers. Give it a spin as the guest account. Let me know if you have any problems.

2006.Apr.2
Filed under: Images, Personal — jon @ 23:12

Spring finally made a convincing appearance here this weekend. Much outdoor roaming and dog training was done.

Muddy (cat) paw prints on a train track rail

2006.Apr.1
Filed under: Programming, Site — jon @ 11:02

I discovered that WordPress doesn’t support outputting secure (HTTPS) links for the login, admin, and registration pages. SSL seeems to be an all-or-nothing thing for them. It also doesn’t provide a way to limit your session cookies being only sent over a secure link. Since I do all my editing over secure links (there is customer data on this site!), this irked me a bit, so I looked for ways to work around it.

Jürgen Kreileder has a great blog entry on how to hack Wordpress to use secure administration pages. Alas, it does more than I want (comment spam management) and my web server doesn’t run the mod_proxy required to complete the URL output rewriting. I had to do something a bit more… sinister (read: hackish).

Theory:

  • use part of Kreileder’s hack (see above) for ensuring the cookies are secure, the auth_redirect goes to a secure page, the admin_referrer check is for a secure page, and chuck the rest of it.
  • replace the mod_proxy output link rewriting with an extremely hackish change to wp-config.php (the only file of which I’m aware that is included in every other page), buffering the output of the page via PHP’s ob_start and then going through and rewriting and “http://” links to sensitive pages with “https://” links. (I’m going to programmer’s hell for this.)
  • a fairly simple .htaccess rewrite block to redirect insecure access to sensitive pages to their secure versions

It’s not pretty, but it works. Caveat emptor!

  • dreamhost.com logo
    Happily hosted by dreamhost.com
  • This site is green.
  • Bike Month
    miles biked47.50
    gallons saved1.36
    dollars saved$5.22
    pounds CO2 saved26.60
    calories burned1677