Which OS do you run ?
There are several security measures within apache, which limit the access of cgi scripts to the filesystem.
I don't know apache on windows, on linux you should first check whether the user/group your apache runs as has access to the files,
often the apache server also runs in a chrooted fs.
Could you perhaps post the according messages of your log files ?