Reply to Re: Can anyone tell me why php scripts are not parsed ???

Your name:

Reply:


Posted by David on 11/18/97 11:44

Norman Peelman wrote:
> "Massa Batheli" <mngong@yahoo.com> wrote in message
> news:1144241794.046612.227520@z34g2000cwc.googlegroups.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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация