When you write about complete paths to directories I wonder:
-Is it the full URL (http://www.yourdomain.com/etc) to the directory or is it the domain path/cgi-bin path that the host has given you - in my case /www/mydomain/cgi-bin
-Is it the full URL (http://www.yourdomain.com/etc) to the directory or is it the domain path/cgi-bin path that the host has given you - in my case /www/mydomain/cgi-bin