[thelist] configuring other extensions to run php pages?

Timothy Luoma lists at tntluoma.com
Thu Dec 12 08:27:01 CST 2002

On Thu, 12 Dec 2002 06:14:23 -0800 (PST), Tom Dell'Aringa
<pixelmech at yahoo.com> wrote:

> I have a project where I am integrating some php functionality into a
> proprietary software package that has templates.
> Let's say these templates have the extension '.tom'
> Is there a way to configure page.tom to run as a php page?

If it is running on an Apache server, it is as easy as adding this

AddType application/x-httpd-php .tom

to .htaccess or equivalent.


Timothy Luoma

More information about the thelist mailing list