On Wed, 24 Apr 2002, Larry Brown wrote:

> problems.  I have a client whose specific need to to keep the .html
> extention.  I want to embed a php script into the html but the script won't
> run.  I've tried two php enabled servers running apache and neither picks it
> out.  Is there a trick I'm missing?
> Larry S. Brown MCSE

In your Apache config, add .html to the list of extensions handled by php.
e.g. -
AddType application/x-httpd-php .phtml .php .php3 .html .php4

        ~Chris                         /"\
                                       \ /     Microsoft Security Specialist:
                                        X      The moron in Oxymoron.
                                       / \     http://www.thebackrow.net

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

Reply via email to