Archive for December, 2009

1&1 .htaccess Fix

December 10th, 2009  |  Published in Technology

Getting .htaccess files to work with 1 and 1 Hosting is a pain in the rear. I do not recommend using 1&1 as a web host under any circumstances, unless you get pleasure from frustration. If that is the case, then by all means use them.

Anyway, to get your .htaccess working, you might have to add these commands:

Options -Indexes +FollowSymLinks -MultiViews

RewriteEngine on
RewriteBase /

(If your app is in another directory than root, then you need to specify the subdirection, like RewriteBase /cms)

The “-MultiViews” is especially important. On most hosts you don’t have to specify such an esoteric option, but 1&1 isn’t just any host. They’re special.

How to Fix the OpenX Cache Permissions Bug

December 6th, 2009  |  Published in Internet, Technology

There’s a bug in OpenX on some installations where this error is displayed when trying to login:

Error: File permission errors have been detected, and must be fixed before you can continue….

chmod -R a+w /home/[dir]/openx/var/cache

Running that command may fix it once, but it’ll be back the next time the maintenance script runs.

Here is how to fix it:

  1. Go to your openx installation directory
  2. Open up plugins/deliveryCacheStore/oxCacheFile/oxCacheFile.delivery.php
  3. Add the following code to line 102 (right before the line “if (PHP_SAPI == ‘cli’)”):
    @chmod($filename, 0777);
  4. Save the file
  5. Run the maintenance script again

Viola! The permissions will now be set correctly when the maintenance script runs.

[BTW, if you need any openx or website help, I'm available for hire through my design company, Rainsong Media]

Beacon Ad Network Launches

December 5th, 2009  |  Published in Business, Personal, Technology

I’m excited to announce the launch of Beacon Ad Network! Beacon is division of Rainsong Media, my design company. Beacon puts Christian ads on Christian blogs. We make it easy for advertisers to purchase ads on a wide range of niche sites with readers who would be interested in them.

Be sure to check out the site, and let me know what you think!

Happy Holidays!

December 3rd, 2009  |  Published in Culture, Current Events, Religion

Focus on the Family has an entire website dedicated to what retailers are “Christmas-friendly” — that is, retailers who say “Merry Christmas” instead of “Happy Holidays.”

Does Focus on the Family not realize there are multiple religions and holidays in America? There’s Thanksgiving, Christmas, Hanukkah, the Winter Solstice, and the New Year. What’s the problem with wishing people a general happy holiday season, instead of just one specific day that not everyone celebrates? There’s nothing sinister behind it, even if they want that to be true to fuel their persecution complex.

Seems to me that people who think this is a big deal are being self-centered and don’t want to think about anyone besides themselves.

So on that note, happy holidays everyone!

Hiring a Programmer

December 2nd, 2009  |  Published in Business, Internet, Technology

There are three questions you have when you’re hiring a programmer (or anyone, for that matter): Are they smart? Can they get stuff done? Can you work with them?

Someone who’s smart but doesn’t get stuff done should be your friend, not your employee. You can talk your problems over with them while they procrastinate on their actual job.

Someone who gets stuff done but isn’t smart is inefficient: non-smart people get stuff done by doing it the hard way and working with them is slow and frustrating.

Someone you can’t work with, you can’t work with.

—Aaron Swartz, “How I Hire Programmers