>I supplied the actual path in the html, but the expandtemplate method somehow added the cgi_bin directory for some reason. It ignores the actual path setting.
Could you paste here that portion of the template (before ExpandTemplate() takes care of it?