I'm trying to revamp some nasty old sites on a cheap shared host using one of these new-fangled Perl web frameworks (Dancer). I had module dependency problems with the existing Perl install (5.6.1) so I built a new (5.12) version locally.
The new Perl version seems to work fine when testing my app or using the development server, and I was hoping I could just change the shebang the CGI script to point to my new Perl and Apache would serve it ok. Unfortunately in the Apache error log I just get:
failed to open log file fopen: Permission denied [Thu Dec 9 14:45:21 2010] [error] [client 138.***.***.***] Premature end of script headers: /home/www/hosts/blahblah/cgi-bin/bb/public/dispatch.cgi
This seems to indicate Apache can't find or execute my new Perl version, but I can't see why not.
I've checked the permissions on my local Perl and they're all 755, which I though user www would be able to access and execute ok. Now I've run out of ideas? Is there anything else I can try?
I can SSH in to the hosting server but don't have root perms or access to the Apache config.