[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-dev
Subject:    Re: [SMARTY-DEV] Smarty and CGI
From:       messju mohr <messju () lammfellpuschen ! de>
Date:       2003-08-10 21:28:22
[Download RAW message or body]

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

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic