in reply to cgi script can't load my module

the permisions of the module and containing folder are 777

All parent directories up in the hierarchy also need to be accessible by the webserver, i.e. at least their 'x' bit must be set. Have you checked that? (this is often overlooked)

(BTW, don't get into the habit of setting files/directories world writeable without a good reason — it could bite you some time...)