surabaya web designer
cheap web promotion indonesia
design graphics and online shopping cart
     category      articles    
 

Adsense

Adwords

Article

Blog

CMS

CSS Style

Datacenter

Design Graphics

Flash Animation

Internet Radio

Messenger

Programming

Provider

Search Engine

Security

Security Web

SEF

SEO

Software

Software Web

AddDefaultCharset directive for Apache

- AddDefaultCharset directive
Syntax: AddDefaultCharset On|Off|charset
Context: all
Status: core
Default: AddDefaultCharset Off
Compatibility: AddDefaultCharset is only available in Apache 1.3.12 and later

This directive specifies the name of the character set that will be added to any response that does not have any parameter on the content type in the HTTP headers. This will override any character set specified in the body of the document via a META tag. A setting of AddDefaultCharset Off disables this functionality. AddDefaultCharset On enables Apache's internal default charset of iso-8859-1 as required by the directive. You can also specify an alternate charset to be used.

For example:

AddDefaultCharset utf-8

Note: This will not have any effect on the Content-Type and character set for default Apache-generated status pages (such as '404 Not Found' or '301 Moved Permanently') because those have an actual character set (that in which the hard-coded page content is written) and don't need to have a default applied.

OTHER ARTICLES

AuthAuthoritative directive

AccessFileName directive for Apache

AuthName directive for Apache

ContentDigest directive

Redirect with htaccess

Count how many days

eSankey

htaccess at Windows

PHP feof() Function

AuthType directive for Apache