[Fwd: [Fwd: Re: [Templates] sending header as text/html]]
Eric Berg
eberg@bergbrains.com
Tue, 22 May 2007 06:53:29 -0400
This is a multi-part message in MIME format.
--------------070903010709060909040407
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit
--------------070903010709060909040407
Content-Type: message/rfc822;
name="[Fwd: Re: [Templates] sending header as text/html].eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="[Fwd: 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 122E31238A3
for <eberg@bergbrains.com>; Tue, 22 May 2007 06:50:21 -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 1HqRwY-0003kI-C5; Tue, 22 May 2007 11:50:18 +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.7 required=5.0 tests=AWL,BAYES_00,Z_TEMPLATE
autolearn=no version=3.1.7
Received: from [207.172.157.102] (helo=smtp02.lnh.mail.rcn.net)
by cat.ourshack.com with esmtp (Exim 4.63)
(envelope-from <eberg@bergbrains.com>)
id 1HqRuu-0003av-8b
for templates@template-toolkit.org; Tue, 22 May 2007 11:48:36 +0100
Received: from mr08.lnh.mail.rcn.net ([207.172.157.28])
by smtp02.lnh.mail.rcn.net with ESMTP; 22 May 2007 06:46:25 -0400
Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11])
by mr08.lnh.mail.rcn.net (MOS 3.8.3-GA)
with ESMTP id IRL65699;
Tue, 22 May 2007 06:46:23 -0400 (EDT)
Received: from 207-237-54-131.c3-0.avec-ubr9.nyr-avec.ny.cable.rcn.com (HELO [127.0.0.1]) ([207.237.54.131])
by smtp01.lnh.mail.rcn.net with ESMTP; 22 May 2007 06:46:20 -0400
Message-ID: <4652CA0F.2090301@bergbrains.com>
From: Eric Berg <eberg@bergbrains.com>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
To: templates@template-toolkit.org
Subject: [Fwd: Re: [Templates] sending header as text/html]
Content-Type: multipart/mixed;
boundary="------------030909030909000201050308"
X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net
X-Junkmail-SD-Raw: score=unknown,
refid=str=0001.0A090201.4652CA00.0073,ss=1,fgs=0,
ip=207.172.4.11,
so=2006-12-09 10:45:40,
dmn=5.1.5/2006-01-31
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 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--
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/templates
--------------070903010709060909040407--