View Single Post

  #2 (permalink)  
Old 06-25-2003
Joshua Nixon
 
Posts: n/a
Default Re: Strange behaviour with images & cgi-bin

try setting the base href of your file - it this doesn't help you may
have to resort to specifying full path names in the cgi.

<base href="http://my/server/page" /> prior to the <head> tag tells the
server where the page is rooted, and then relative links will be based
on this root. looks to me like the page is assuming doc root is in the
cgi directory, and is trying to find images from there. telling it
otherwise, or using absolute paths for your images
(http://myserver/image/directory/image.gif), might fix this

(if all else fails, drop a simlink in your cgi directory to the images
dir, and enable follow simlinks for that dir...)

-josh