Re: [Templates] ContentType Option?
[prev]
[thread]
[next]
[Date index for 2004/08/05]
Kenny Gatdula wrote:
> I noticed there's a TT2ContentType option in Apache::Template. Is there
> something like this for Template.pm?
Template.pm is not directly tied to web development, so that wouldn't
make sense.
> Reason I ask is that I find myself
> having to add a line to registry scripts to explicitly print the content
> type, and i'd prefer to set an option.
That's normal for CGI scripts. You can set a default content-type in
your httpd.conf for that location of file extension if you prefer.
- Perrin
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] ContentType Option?
Perrin Harkins 19:30 on 05 Aug 2004
|