On Fri, Jul 16, 2004 at 03:46:39PM +0100, Tom Insam said:
>     http://jerakeen.org/programming/mod_tt

Rarr! 

Seriously, this is brilliant. One of the reasons why PHP is so popular 
is that you can just unzip a load of .php files into a directory and 
have a web app. This will go a long way towards redrssing that balance 
whilst still preaching the MVC gospel.

Not entirely convinced about the default config object being called 
modtt but that's a cosmetic niggle. 

Make test currently fails for me under

Linux kanga.astray.com 2.4.19-gentoo-r10 #6
Apache   1.3.27
mod_perl 1.27
perl     5.8.0

strace seems to indicated that it craps out when trying to start the 
httpd daemon - it claims to have started fine and but just isn't 
running.

Pertinent trace lines ...

ioctl(2, SNDCTL_TMR_TIMEBASE, 0xbfffe990) = -1 ENOTTY (Inappropriate 
ioctl for device)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40014                                                               
000
write(2, "apache/apachectl: line 56: kill:"..., 58) = 58
dup2(10, 2)                             = 2

... yet later ...


write(1, "apache/apachectl start: httpd st"..., 38apache/apachectl 
start: httpd started) = 38
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "\nexit $ERROR\n\n## ==============="..., 7279) = 2847
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0x40014000, 4096)                = 0
munmap(0x40015000, 4096)                = 0
_exit(0)                                = ?


However, removing all traces of mod_tt from the generated httpd.conf 
also create the same result so that may not be the problem.

I do get errors about

"I can't find mod_mime.so in /usr/local/apache/libexec so I hope it's 
staticly built!"

which it is but maybe that's part of the problem.


Installing anyway (full ahead and damn the torpedos) and then adding the 
AddHandler line in a diretcoy in virtual host produces ... nothing. The 
files are returned plain.

Adding it globally causes something to happen - I get a 
<html><body</body></html block returned but no actual content.

Hope I can get this working cos I think it's 'kin brilliant.

Simon




_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to