Re: [PHP] PHP process .html extension file

From: Jason Wong (php-general_at_gremlins.biz)
Date: 11/18/03


To: php-general@lists.php.net
Date: Tue, 18 Nov 2003 10:07:48 +0800

On Monday 17 November 2003 18:03, BennyYim wrote:
> PHP server will interpret .php extension files (index.php) as default.
>
> What should I set if I want the PHP server also interpret .html files (e.g.
> index.html) before send to client?

If using apache:

  AddType application/x-httpd-php .php .html

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Perhaps, after all, America never has been discovered.  I myself would
say that it had merely been detected.
		-- Oscar Wilde
*/