• Welcome to KonaKart Community Forum. Please login or sign up.
 

Running CGIs from within the shop ...

Started by Anni, November 14, 2007, 02:59:58 pm

Previous topic - Next topic

Anni

hi,

I've just started customizing the layout for the shop I'm working on. it's supposed to look nearly the same as the website to which it belongs - i.e. especially the header and footer of the shop.
the original website header is running two cgi-scripts, which just display some pictures. they're located  somewhere on the same server as konakart.

my problem is that the webapp seemingly can't find them, however I define the path. I also tried copying the scripts and placing them in the webapp's folder - same result.

so, my question is, whether this is possible at all? and if so, how?

regards,

anni

pete

Hi Anni,

You could try copying them into the webapps/konakart/images folder since that is where KonaKart reads all of its images from. Here is how we display an image in one of our JSPs:

<img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14">

If you copy that syntax it should work. If your server is unix, don't forget that the image name is case sensitive.

Pete

Anni

hi pete,

thanks for the answer but copying the CGIs into the images folder sadly doesn't change anything. the scripts are still not executed. or maybe they are but the images can't be located?

the script itself prints an img-tag with corresponding path but those images are not in the webapp images folder. and I don't want to copy all of them for space reasons.

one option that's currently on my mind would be changing the image paths to urls within the CGIs. or is there another way to get "outside" the webapp folder???

regards,
anni 

pete

Hi Anni,

I actually meant copying the images and not the scripts. If you can't do that then referencing a url should work nicely.

Regards - Pete