Dreamhost troubleshooting
After checking for the existence of the previous post, I noticed that my blog site was kicking out 403 errors. The specific nastiness looked like this:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
I checked the apache error logs, and saw a whole bunch of errors like this:
[Tue Jul 17 19:30:22 2007] [crit] [client 208.42.29.115] (13)Permission denied: /home/<my home dir>/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readableGoogling for this error message turned up some misdirection, but no answers. Creating a .htaccess file in my home directory didn't fix it. Even putting one in there that was world-readable didn't fix it; because, of course, that wasn't the real problem.
Turned out that what did fix it was to make my home directory world-executable (which, of course, means searchable for directories), and each of the site directories needed to be world-executable as well. Not world-readable, but world-executable.
[rolls]$ chmod u=rwx,g=rx,o=x blog.pclark.net
Shared hosting happiness is back again, and my apologies for the downtime.
Labels: apache, dreamhost, error, permissions

