Re: PHP process .html extension file
| From: | Jason Wong | Date: | Tue, 18 Nov 2003 02:07:48 +0000 |
| Subject: | Re: PHP process .html extension file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170044@lists.php.net to get a copy of this message | ||
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
*/