Thread: Motd
View Single Post
  #4 (permalink)  
Old 12-22-2009, 03:00 PM
hillman hillman is offline
Moderator
 
Posts: 75
Default

Quote:
Originally Posted by blazeking View Post


Changed settings:

./adminapp/motd/settings/index.html: (urlBase = 'http://zimbramotd.lakecoe.org/zimbrarest.cgi/adminapp/motd/global/')
./adminapp/motd/_js/motd.js:
var getUrlBase = 'http://zimbramotd.lakecoe.org/motd';
var postUrlBase = 'http://zimbramotd.lakecoe.org/motd/';
var myUrlBase = 'http://zimbramotd.lakecoe.org/';


How many things do I have wrong?
In the urlBase variable, there's no need to change anything after the ".cgi" part (if you do, you'd need to modify the CGI perl code accordingly). So your urlBase should be "http://zimbramotd.lakecoe.org/zimbrarest.cgi/datastore/motd/global" - assuming of course that your zimbrarest.cgi program is at the root level and not in a "/cgi-bin' sub dir or something like that.

Your getUrlBase and postUrlBase should be the same as each other, and the same as the first part of the urlBase - in your case, it looks like they should both be "http://zimbramotd.lakecoe.org/zimbrarest.cgi/"
__________________
Steve Hillman
IT Architect
Simon Fraser University
Reply With Quote