in reply to Can a Template file be an HTML file?

Ignore any answer in this thread that doesn't ask about your web server configuration. It really really depends on that. You can make ".html" mean "this is a gif file", or "redirect this user to www.google.com".

So, the first question is, "who set up your configuration?" and if that's not you, ask them the question you posted. If that's you, then you'll need to tell us more before anyone can help.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re: Can a Template file be an HTML file?

Replies are listed 'Best First'.
Re^2: Can a Template file be an HTML file?
by jZed (Prior) on Jun 15, 2005 at 00:31 UTC
    Since he's going to be using these as templates via HTML::Template, why would it matter how the web server classifies them?
Re^2: Can a Template file be an HTML file?
by polettix (Vicar) on Jun 15, 2005 at 00:34 UTC
    Your quest for more information seems to imply that you don't agree with keeping template files outside of the webserver directory tree. If this is the case, could you please elaborate on that? If you otherwise agree on that, I don't understand what kind of influence the web server configuration would have.

    Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

    Don't fool yourself.