N
N
newaitix2019-04-27 20:03:53
Apache HTTP Server
newaitix, 2019-04-27 20:03:53

How to force the server to give tpl files as html?

How to force the server to give tpl files as html?
When accessed at site.com/templater.tpl, the
templater.tpl file is simply downloaded.
And I need it to be output as text/html.
How to do it ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-04-27
@newaitix

AddType text/html .tpl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question