That should be all you need.  Make sure that something isn't re-assigning
those extensions later on in your conf file.  Perhaps you changed the
wrong addtype?  Liek a commented out one?

-Rasmus

On Fri, 4 Apr 2003, Tom Tsongas wrote:

> Hi folks.
>
> This will probably sound like a stupid question, but I will ask it
> anyway: how can I get the PHP interpreter to execute scripts in files
> that don't have the .php extension? i.e. if I want to embed php code
> into a .html or .xml file that gets run.
>
> I thought all I had to do was add the extension to the AddType
> application in the apache configuration file so it looked like this:
>
> AddType application/x-httpd-php .php .html .xml
>
> I tried it but the code isn't being executed. (And yes, I did restart
> apache)
> Am I missing something?
>
> Tom
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to