Re: [htmltmpl] Problem accessing directories through .tmpl files
Brought to you by:
samtregar
From: Offer K. <off...@gm...> - 2004-11-25 06:58:55
|
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 don't supply a path for them when calling them) either in ROOT or where your main Perl script is (i'm unsure - try). This is a matter of logic, not HTML::Template or <tmpl_include> tags. The final generated HTML is the one you are viewing, not the templates, and all paths should be relative to it, not the template sources. Regards, -- Offer Kaye |