Re: escape sequences not recognized inside an .html
| From: | Jason Stechschulte | Date: | Tue, 27 Mar 2001 13:02:16 +0000 |
| Subject: | Re: escape sequences not recognized inside an .html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45719@lists.php.net to get a copy of this message | ||
On Sat, Mar 24, 2001 at 09:06:36PM -0500, Mauricio Junqueira wrote:
> Hi,
> I believe I am missing some configuration regarding my apache becouse
> I can only get php to work inside a file .php.
> If my page extension is .html, nothing happend with the php script; but
> just changing from .html to .php everthing works fine.
> Anyone? Anyhelp?
If you ar using a *nix system, you probably need to add:
AddType application/x-httpd-php .html
to you httpd.conf
--
Jason Stechschulte
jpstech@unoh.edu
--
/* we have tried to make this normal case as abnormal as possible */
-- Larry Wall in cmd.c from the perl source code