LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   .htaccess Japanese Apache support? (https://www.linuxquestions.org/questions/linux-newbie-8/htaccess-japanese-apache-support-77072/)

ohlssonvox 07-29-2003 04:47 PM

.htaccess Japanese Apache support?
 
I am running REDHAT 8 and got everything up and going with PHPBB, MYSQL, etc.. APACHE etc, but I want to run a PHPBB with Japanese.

When a user logs onto my site they get garbled encoding, if they select JAPANESE for encoding then the pages display properly.

Do I need to edit the .htaccess file? Also, I am a total newbie with linux, so where do I find or put my .htaccess file? Is there one in my system by default or do I have to make one from scratch?

By the way I have been using linux for about 1 week and I love it now. I brings me back to my University days working on a UNIX terminal with green text. But it is my own system that I can control everything. How cool. I would appreciate help from anyone on this issue.

Regards,

ohlssonvox

Proud 07-29-2003 04:52 PM

I think you need to set apache to flag the page encoding as japanese, so that browsers can pick it up and automatically switch.

ohlssonvox 07-29-2003 05:09 PM

yes this is what I think too.
 
any idea bout how to do this though? I am a total beginner with this, but I can navigate my way around and change files as needed though. I just need to know what needs to be changed.

ohlssonvox

Proud 07-29-2003 05:24 PM

Check out your apache-mime.types if you have apache2.
Quote:

# This is the default mime.types file from the Apache web server distribution

# This file controls what Internet media types are sent to the client for
# given file extension(s). Sending the correct media type to the client
# is important so they know how to handle the content of the file.
# Extra types can either be added here or by using an AddType directive
# in your config files. For more information about Internet media types,
# please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
# registry is at <ftp://ftp.iana.org/in-notes/iana/ass...s/media-types/>.

ohlssonvox 08-01-2003 11:29 PM

it worked for me
 
thanks

Proud 08-02-2003 04:51 AM

Cool :)


All times are GMT -5. The time now is 12:06 PM.