[Fwd: Re: [Templates] sending header as text/html]

Eric Berg eberg@bergbrains.com
Tue, 22 May 2007 06:46:39 -0400


This is a multi-part message in MIME format.
--------------030909030909000201050308
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit


--------------030909030909000201050308
Content-Type: message/rfc822;
 name="Re: [Templates] sending header as text/html.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Re: [Templates] sending header as text/html.eml"

Return-Path: <templates-admin@template-toolkit.org>
X-Original-To: eberg@bergbrains.com
Delivered-To: eberg@bergbrains.com
Received: from cat.ourshack.com (cat.ourshack.com [212.74.28.153])
	by tishrei.maltin.org (Illium Forge and Foundry Co., Mail Server Software Daemon) with ESMTP id 0D5A01238A3
	for <eberg@bergbrains.com>; Tue, 22 May 2007 06:45:28 -0400 (EDT)
Received: from localhost
	([127.0.0.1] helo=cat.ourshack.com ident=mailman)
	by cat.ourshack.com with esmtp (Exim 4.63)
	(envelope-from <templates-admin@template-toolkit.org>)
	id 1HqRrp-0003T8-05; Tue, 22 May 2007 11:45:25 +0100
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cat.ourshack.com
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00 autolearn=no 
	version=3.1.7
Received: from faith.mag-sol.com ([217.160.175.66])
	by cat.ourshack.com with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.63)
	(envelope-from <dave@dave.org.uk>)
	id 1HqRr0-0003M6-JX
	for templates@template-toolkit.org; Tue, 22 May 2007 11:44:35 +0100
Received: (qmail 4060 invoked from network); 22 May 2007 11:45:43 +0100
Received: from gatea.mh.bbc.co.uk (HELO ?132.185.144.10?) (132.185.144.10)
  by faith.mag-sol.com with SMTP; 22 May 2007 11:45:43 +0100
Message-ID: <4652C983.5010802@dave.org.uk>
From: Dave Cross <dave@dave.org.uk>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
To: Ken Perl <kenperl@gmail.com>
CC:  templates@template-toolkit.org
Subject: Re: [Templates] sending header as text/html
References: <335b7d740705110427l277df3f5wf7382f507c5f24c0@mail.gmail.com>	 <86bqgry410.fsf@blue.stonehenge.com>	 <335b7d740705112148p5a268af8g191a2807824d1f8c@mail.gmail.com>	 <464584EB.9090909@smidsrod.no>	 <335b7d740705210601k7321a6f6j7661e1c6c43cfdf1@mail.gmail.com>	 <46519D0D.9080306@dave.org.uk> <335b7d740705220325l74537666qbe4c3371d5517fe4@mail.gmail.com>
In-Reply-To: <335b7d740705220325l74537666qbe4c3371d5517fe4@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: templates-admin@template-toolkit.org
Errors-To: templates-admin@template-toolkit.org
X-BeenThere: templates@template-toolkit.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:templates-request@template-toolkit.org?subject=help>
List-Post: <mailto:templates@template-toolkit.org>
List-Subscribe: <http://lists.template-toolkit.org/mailman/listinfo/templates>,
	<mailto:templates-request@template-toolkit.org?subject=subscribe>
List-Id: Template Toolkit mailing list <templates.template-toolkit.org>
List-Unsubscribe: <http://lists.template-toolkit.org/mailman/listinfo/templates>,
	<mailto:templates-request@template-toolkit.org?subject=unsubscribe>
List-Archive: <http://lists.template-toolkit.org/pipermail/templates/>
Date: Tue, 22 May 2007 11:44:19 +0100

Ken Perl wrote:
> Dave,
> 
> I tried the put
>        [% USE CGI;
>        CGI.header %]
> 
> in the default-template, but it seems I still see the html source code
> in the firefox2.0, any idea what is wrong? why it doesn't work?

Does the output you see include the CGI header?

This might not be a TT issue at all. Are you sure that your web server 
is correctly configured for CGI programs?

Dave...

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/templates

--------------030909030909000201050308--