1. Oct 25th, 2006

    Rounded Corners - 52

    I can’t believe I did not post for a whole week. But I got tied up in some personal stuff, minor computer woes, and some new project I hacked over the weekend, and that pretty much killed all my blogging time. After all …

    You blog or you code. Incidentally, this just showed up in my feed list that I didn’t check for nearly a week.

    OpenID rocks. I tried OpenID for the first time, and I love it. I decided I’m going to try it and add OpenID authentication, only if I can run my own server … no point in someone else owning my ID. I ended up struggling with mod_rewrite rules — I want a URL that I can easily remember — and accidentally broke the blog. Took a break and came back to address a configuration problem. Took another break, and went back to fix a mod_php problem.

    That one took a lot of source digging, but apparently the PHP OpenID server requires mod_php. So it works nicely on my development machine. TextDrive, my hosting providing, uses FCGI. So I had to fix get_apache_headers() in the source. A five minute fix, but it took a lot of digging to get there.

    It could be easier. It should be easier. We deserve it.

    Did I just say that? I mostly agree with Nick Carr’s response to Lawrence Lessig’s mishype. There, I said it.

    Shame yourself into writing more test cases. In one word: cool.

    And always keep in mind. Well designed URLs are beautiful.

    1. Oct 27th, 2006

      Jason

      We do both mod_php and FCGI. The module basically reads/writes as “www” and the FCGI method reads/writes as you.

      To switch to mod_php you just put the standard line

      AddType application/x-httpd-php .php

      in an .htaccess file and you’re set.

    2. Oct 27th, 2006

      Assaf

      Jason,

      Thanks. That solved it.

    Your comment, here ⇓

    Or using OpenID