Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Character Encoding
Google
Post new topic Reply to topic
Author Message
nullmind
 
 


Joined: 10 Mar 2005
Posts: 4

PostPosted: Thu Mar 10, 2005 3:09 pm Reply with quoteBack to top

Install was working flawlessly cept one thing. The webboard is korean and my browser(firefox) wouldn't automatically encode it for me and I had to manually change the encoding to korean and I would have to keep doing that for every page. Anyways to fix this? Thanks in advance.
View user's profileSend private message
LiquidSnake
past contributor
past contributor


Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

PostPosted: Thu Mar 10, 2005 8:23 pm Reply with quoteBack to top

create a .htaccess file where you wish the language to be and add this to it



Code:
DefaultLanguage ko


if you want it server wide:

find this line in httpd.conf

Code:
# DefaultLanguage nl


change to

Code:
DefaultLanguage ko


take note of the # symbol which is removed


find this line in httpd.conf

Code:
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


change it to this

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



if you do this YOU MUST RESTART APACHE


Last edited by LiquidSnake on Thu Mar 10, 2005 8:37 pm; edited 2 times in total
View user's profileSend private messageSend e-mailYahoo Messenger
nullmind
 
 


Joined: 10 Mar 2005
Posts: 4

PostPosted: Thu Mar 10, 2005 8:25 pm Reply with quoteBack to top

so just ".htaccess" and the code? do I have to put the file in every folder?
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Thu Mar 10, 2005 8:29 pm Reply with quoteBack to top

The configuration directives in a .htaccess files apply to the directory in which the .htaccess exists , and to all subdirectories upwards http://httpd.apache.org/docs-2.0/howto/htaccess.html#how

you might also want to see http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset
View user's profileSend private message
DELETED
Guest





PostPosted: Thu Apr 17, 2008 12:13 am Reply with quoteBack to top

DELETED
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT