Quoting Sam Lindley <[EMAIL PROTECTED]>:
If /scripts is a cgi directory then perhaps Apache is attempting to run
jslib.js etc as CGI scripts. What happens when you try to view
/scripts/jslib.js in the web browser (it should display the JavaScript as
text)? You should try moving the runtime files to a different location, /lib
say (and adjusting jsliburl in the config file accordingly).

Unfortunately, 'scripts' isn't my cgi directory, and accessing jslib.js
through a browser displays the script as text. 'scripts' is a
subdirectory of the cgi directory used, but doesn't have permissions to
execute cgi scripts (and .js files aren't dealt with by the
cgi-handler).

I did, however, just manage to find part of the issue, and it was
nothing but negligence on my part. The content of the yahoo
subdirectory hadn't been replaced since I upgraded to Links 0.4.. So,
the simple example discussed above now works perfectly, but my main
page still won't load. However, I'm getting some errors this time,
which is good.

Apache's error log complains about "extras.js" not existing anywhere
(and it doesn't, including in the links-0.4 source directory's lib),
and Mozilla's error log says "getCookie is not defined". I don't get
the getCookie error if I remove the DOM method call.

Any ideas? :-)

Thanks for helping me out,
Tom

_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users

Reply via email to