Re: [SMARTY-DEV] Smarty and CGI

From: Date: Sun, 10 Aug 2003 21:28:22 +0000
Subject: Re: [SMARTY-DEV] Smarty and CGI
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1744@lists.php.net to get a copy of this message
fixed in cvs. thanks! On Sat, Aug 09, 2003 at 06:19:53PM +0200, Karel W. Dingeldey wrote: > Hi. > > I'm developing with smarty on an apache with php as module. > The production webserver is an apache, too, but with php as cgi, for > security reasons. > > Now I've got the problem that, smarty caching enabled, I got, after > reloading the site, a server error (#500). > The log says "malformed header from script. Bad header=HTTP/1.1 304 Not > Modified: ...". > My first issue was, that cgi needs different headers. So I changed > "Smarty.class.php/1121" (version 2.5.0) to "header("Status: 304 Not > Modified");". > > And now I get no error anymore. > > I would say, it is a bug, isn't it?! > > Regards, > Criena

« previous php.smarty.dev (#1744) next »