Re: .html extension PHP page be interpret
| From: | Nathan Taylor | Date: | Tue, 18 Nov 2003 11:04:43 +0000 |
| Subject: | Re: .html extension PHP page be interpret | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170078@lists.php.net to get a copy of this message | ||
That's simple, just modify your Apache httpd.conf on the line where it says something along the
lines of:
AddType application/x-httpd-php .php4 .php .php3 .inc
change it to:
AddType application/x-httpd-php .php4 .php .html .php3 .inc
----- Original Message -----
From: BennyYim
To: php-general@lists.php.net
Sent: Tuesday, November 18, 2003 5:46 AM
Subject: [PHP] .html extension PHP page be interpret
I using WinXP + Apache 1.3.24 + PHP 4.3.3
My apache default will interpret .php extension file. (e.g.
index.php)
If I have a PHP page, but I want to use .html file extension (e.g. index.html).
what I need to set to make those html extension page be interpret by server.
I want those .html extension PHP page be interpret.
Thank You !
.---------------------------------------.
| Message Posted by NewsgroupXplorer |
| http://www.newsgroupxplorer.com |
| |
| Your newsreader in your browser. |
`---------------------------------------'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php