Hello,

I've set up TT under apache/mod_perl and wrote handler just like in 
www.template-toolkit.org/tpc4/paper.html. Seems to me that handler works 
OK, but i can't see any images on my web page :(. Images catalogue is in 
INCLUDE_PATH. And if i trace this apache (truss -p) then it looks ok:

1. setitimer(0x0,0xbfbffa1c,0xbfbffa0c)          = 0 (0x0)
2. gettimeofday(0x2865a020,0x0)                  = 0 (0x0)
3. stat("/hosts/my_page/imgs/m_kask_p.gif",0x845f0fc) = 0 (0x0)
4. open("/.htaccess",0,0666)                     ERR#2 'No such file or 5. directory'

It tries to open image on line 3 and i think succeeds, but no matter how 
i write these image src's in html i won't show any of them. I've tried 
src="imgs/m_kask_p.gif", src="m_kask_p.gif", src="/imgs/m_kask_p.gif", 
but nothing works. And same story about style file. It's in lib dir and 
server doesn't seem to find it.

If this is one question from non-existant faq then please tell me what's 
the solution, if it's not then at least some hints would be nice :).

Rgds,
Viljo



Reply via email to