You are here: Re: Common template for HTML page? « HTML « IT news, forums, messages
Re: Common template for HTML page?

Posted by Dan on 11/13/08 11:26

WD10 wrote:
> On Thu, 08 Sep 2005 18:20:01 -0700, Dan wrote:
>
> > WD10 wrote:
> >> > The use of a "content-type" meta tag is an inferior substitute for
> >> > sending actual correct HTTP headers at the server level.
> >>
> >> How do you recommend doing it?
> >
> > On an Apache server it can be accomplished with a .htaccess file.
>
> Why is that better than the meta tag? Isn't an .htaccess file a last
> resort in a situation because it increases work for the server?

A meta "http-equiv" tag is intended as a substitute for a real HTTP
header, for cases where for whatever reason you are unable to send one.
It's more logically pure to send the right HTTP header in the first
place than to substitute for it later.

--
Dan

 

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

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