SimplyWebHosting.com KnowledgeBase Glossary    Contact Us
Search  
   
Browse by Category
SimplyWebHosting.com KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: How do I change Apache's default language?

How do I change Apache's default language?

To globally change your Apache web server language settings, you†will need to make some changes to your Apache configuration file (/etc/httpd/conf/httpd.conf).†The following example below†assumes you want to change the default language to German, or "de".

  1. Change the line that reads:

    # DefaultLanguage nl
    to
    DefaultLanguage†de

  2. Change the line that reads:

    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
    to
    LanguagePriority de en ca cs da el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW

    (That is, move†"de" to the first entry in the list.)

  3. Change the line that reads:

    AddDefaultCharset UTF-8
    to
    AddDefaultCharset ISO-8859-1

You will need to make†these changes with a Unix/Linux editor, or the control panel using the Unix (LF) option, rather than with a windows/DOS based editor so that you have the proper line endings.

Once you have made these changes, restart your web server for these changes to take effect. To restart your web server in your HSPC control panel go to System tab > Server Management > Web Server. Click on the Restart button to restart your web server.


How helpful was this article to you?

Related Articles

article How to change the default character set for a website
To change the default character set for all...

  5-3-2006    Views: 18510   
article I just set up a domain, and it displays as a default page saying "This is the Server Administratorô default page." What does this mean?
You will get this webpage if you attempt to...

(No rating)  11-14-2005    Views: 5590   
article Can I change the default starting file for my website (i.e. index.php instead of index.html)?
The easiest way is to simply rename or remove...

  7-24-2005    Views: 26015   

User Comments

No comments have been posted.


.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc.
SimplyWebHosting.com - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted