Gossamer Forum
Quote Reply
template run path
If you have a cgi like,

(1) '/cgi-bin/showpicture.cgi'

and it calls a template inside it like,

(2) print Link:user_page('frame.html')

Is the parsed template that appears in the user's browser under /cgi-bin/showpicture.cgi running relative to the server root such that for example a javascript as follows,

(3) Load_func('/images/animage.gif')

in the template would retrieve the file relative to server root or relative to /cgi-bin root

i.e. server_root/images/animage.gif vs. server_root/cgi-bin/images/animage.gif?