That's not the problem, because Apache is not even trying to run the script. I don't know why, though, it may be that you need to edit the apache config directly, but I don't know if you can do that on Dreamhost.