[htmltmpl] Problem accessing directories through .tmpl

2004-11-25 Thread Kasturirangan Rangaswamy
;files (Carl Franks) > > --__--__-- > > Message: 1 > Date: Thu, 25 Nov 2004 08:58:48 +0200 > From: Offer Kaye <[EMAIL PROTECTED]> > Reply-To: Offer Kaye <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [htmltmpl] Problem accessing directori

Re: [htmltmpl] Problem accessing directories through .tmpl files

2004-11-25 Thread Carl Franks
Sharad, The paths to your image files (and css, js, etc) are relative to the CGI script. The folder that the .tmpl file is in is irrelevant. Also filesystem paths are irrelevant: it's the website paths you need to know. e.g. if the CGI is at "/cgi-bin/sample/display.pl" Then the image files must

Re: [htmltmpl] Problem accessing directories through .tmpl files

2004-11-25 Thread Offer Kaye
On Tue, 23 Nov 2004 20:26:42 -0800 (PST), Kasturirangan Rangaswamy wrote: > >Below are the details (Consider >ROOT=/usr/local/apache/htdocs/homepages) > > Main Perl Script (present in ROOT/software/cgi-bin/sample/) > You need to place the images and CSS files (if you

Re: [htmltmpl] Problem accessing directories through .tmpl files

2004-11-24 Thread Karen Cravens
On Tue, 23 Nov 2004 20:26:42 -0800 (PST), Kasturirangan Rangaswamy <[EMAIL PROTECTED]> wrote: >Now, the B.tmpl and C.tmpl files access images stored in yet another > directory (NOTE: Also tested by putting them in same directory and that > is not working either!!!). Those images are not getting

[htmltmpl] Problem accessing directories through .tmpl files

2004-11-24 Thread Kasturirangan Rangaswamy
Hi, I have a small Perl Script that calls a .tmpl file A.tmpl. This .tmpl file has two statements that include two other files B.tmpl and C.tmpl. Files A,B and C are in the same directory. I am able to display the three of them as a single HTML file. No problems till here. Now, the B.