Re: Usage of PHP?


Subject: Re: Usage of PHP?
From: Mark Jaffe (wizards@wizdev.net)
Date: Mon Dec 24 2001 - 22:20:28 MST


On 12/24/01 4:05 PM, "Sam Moore" <samiwas@macconnect.com> wrote:

> Make sure httpd.conf contains something like
> AddType application/x-httpd-php .php .php3 .html
> (syntax may vary depending on your Apache version - make sure it's
> not commented out!).
>
> This tells Apache to pour all files with the extensions .php, .php3
> and .html through the PHP module before serving. (The .php3 is for
> backward compatibility - may not be an issue for you.)
> Based on your symptoms, I'd be willing to bet your httpd.conf omits
> the .html extension from this line.
>
> Be sure to restart Apache after editing httpd.conf (usually
> # /usr/local/apache/bin/apahectl restart
> will work).
>

Exactly! That was it; thanks, Sam!

Mark
============================================================
Mark Jaffe | (408) 972-9638 (home)
Chief Wizard | (408) 807-1530 (cell/page/voicemail)
Computer Wizards | (425) 795-6421 (FAX)
wizards@wizdev.net | http://www.wizdev.net/



This archive was generated by hypermail 2a24 : Mon Dec 24 2001 - 22:33:55 MST