Save one of the pages generated by your CGI scripts as static HTML, on the same server that is serving your CGI scripts. Load this page, and work out why the .js functions are not working, and fix your CGI until it generates html that works.
On 17/12/06, michaeljay <[EMAIL PROTECTED]> wrote:
I generated a page with C. All executed fine as far as serving up the correct markup. CSS and external ecmascript, though, ignored. Made both links to those absolute to the document root, that is, I moved the .js and .css files out of the cgi-bin folder and into the htdocs folder and in the <script> element had the source be ipaddress/x.css and ipaddress/x.js. This solved the css problem. The .js functions not being found by the browser still. "Undefined" warning in debugger. When I view the source of cgi output and save that as a static document, it works perfectly. Please enlighten. < emjay! > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Steve Swift http://www.swiftys.org.uk
