You are here: Re: Force apache to parse html files as php « PHP Programming Language « IT news, forums, messages
Re: Force apache to parse html files as php

Posted by Rik Wasmus on 12/05/07 22:26

On Wed, 05 Dec 2007 22:20:58 +0100, Michael Fesser <netizen@gmx.de> wrote:

> .oO(Ivan Marsh)
>
>> On Wed, 05 Dec 2007 19:40:29 +0000, Gary Hasler wrote:
>>
>>> I want apache to parse all .html files for php code.
>>
>> May I ask why files that contain PHP code are being named .html and not
>> .php?
>
> Some things simply don't belong to a URL.
>
> Cool URIs don't change
> http://www.w3.org/Provider/Style/URI

.... and URI's have little to do with where the request ends up on a sever
anyway...

Come to think of it, close to none of my recent projects use any URI
ending in an extension, save for some back-end/CMS functionality not
publically available. They are a way to advertise to search engines/make
them accessable by guessability/should reflect some sort of indication of
the actual content they'll show, so I treat them as such.
--
Rik Wasmus

 

Navigation:

[Reply to this 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

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