"David" <yo*******@findmoore.net> wrote in message
news:G7********************@centurytel.net...
Norman Peelman wrote: "Massa Batheli" <mn****@yahoo.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com... Sorry got another thread going, having responded for which I am
grateful you deserve an answer.The proper file is checked httpd.conf
not the default
Thanks
Massa Bathe
AddType application/x-httpd-php .php
This may seem like a stupid question but how are you calling your web
page. As the setting above dictates, only pages ending in .php will be parsed.
Add .htm .html as well.
AddType application/x-httpd-php .php .htm .html
Adding the above "AddType" line is not really a very smart idea. I
causes Apache to parse every file named .htm, .html
This will put a much bigger load on the server parsing each and every
file (.htm .html) that have no PHP within them. The results will be seen
by the end user as slow serving webpages. Is that what one really
wants?. Don't be laze, do it the right way.
I knew someone would catch that... I just shot that off before rushing off
to work. Really what one should do is decide upon an extension for static
pages and omit that from the list, so that:
AddType application/x-httpd-php .php .htm
would allow .html pages to NOT be parsed through PHP. And as a side note,
any extension will work.
Norm
--
FREE Avatar hosting at
www.easyavatar.com