charset=windows-1254 Für vserver aber wie ?

Xcoder

Registered User
Gutentag an alle

ich möchte mein vserver auch die türkische und deutsche langue unterschützen ich weis dan mann beim apache was ändern muss aber kann jemand mir sagen wie bevor ich fahlsch mache danke voraus.

Türkisch charset:

<meta http-equiv="content-type" content="text/html; charset=windows-1254" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-9" />
 
Last edited by a moderator:
hi leute ich muss bei der server4you root server powerplus diese Charset

AddDefaultCharset ISO-8859-9 eintragen aber ich finde dem httpd.conf nicht bei vserver habe gefunden aber bei root server ist nicht zu finden auser

root/etc/apache2/httpd.conf aber dort gib es kein zeile über AddDefaultCharset muss ich das dort fügen. wenn ja wie ? danke.
 
httpd.conf ist nur noch ein Überbleibsel von Apache 1, bei Apache 2 ist die Hauptkonfigurationsdatei /etc/apache2/apache2.conf
wenn ja wie ?
Es gibt eine Menge Textmodus Editoren für Linux aber die meisten sind für Windowsuser schwer verständlich. Am einfachsten ist es wenn du die Datei per scp auf deinen Rechner lädst, sie veränderst, sie wieder auf deinen Server zurückschiebst und Apache neu startest.
 
HornOx said:
httpd.conf ist nur noch ein Überbleibsel von Apache 1, bei Apache 2 ist die Hauptkonfigurationsdatei /etc/apache2/apache2.conf
Es gibt eine Menge Textmodus Editoren für Linux aber die meisten sind für Windowsuser schwer verständlich. Am einfachsten ist es wenn du die Datei per scp auf deinen Rechner lädst, sie veränderst, sie wieder auf deinen Server zurückschiebst und Apache neu startest.


ja aber bei mir gib es kein /etc/apache2/apache2.conf
sondern /etc/apache2/httpd.conf aber dort gib es kein zeichen über AddDefaultCharset muss ich selber adieren oder wenn ja wie das habe ich gemeint damit oder who genau

danke.
 
ich habe das gefunden

http://www.phpforum.de/archiv_15331_Umlaute@richtig@darstellen_anzeigen.html

und in dem file gekuckt was mus ich den hier einstellen das habe ich nicht vertsanden deutsche und türkish ist bei mir kaos alles wird so angeseigt Führungskräfte

das hab ich bei vserver gelöst aber bei der root server kann ich kein anword finden




PHP:
#
# mod_mime configuration: 
# associate various bits of "meta information" with files by their filename extensions
#
# see http://httpd.apache.org/docs-2.0/mod/mod_mime.html
#


AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage he .he
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddLanguage pl .po
AddLanguage ko .ko
AddLanguage pt .pt
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pt-br .pt-br
AddLanguage ltz .ltz
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cs .cz .cs
AddLanguage ru .ru
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw
AddLanguage hr .hr

LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw
ForceLanguagePriority Prefer Fallback

# As UTF-8 is ASCII compatible, it doesn't hurt to use UTF-8 as default
# if the file names are all ASCII. And if the file names are something
# else like ISO-8859-1, EUC-JP or some other legacy encoding, you have
# no chance to get it right automatically anyway because the Unix file system
# has no information about the file name encoding.
#
# The default character set is important for another reason:
# http://httpd.apache.org/info/css-security/
#
AddDefaultCharset ISO-8859-1

AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5        .Big5       .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251   .win-1251
AddCharset CP866       .cp866
AddCharset KOI8-r      .koi8-r .koi8-ru
AddCharset KOI8-ru     .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8       .utf8
# not mapped to a specific (iso) standard, but helpful nevertheless:
AddCharset GB2312      .gb2312 .gb 
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5        .big5 .b5
AddCharset EUC-TW      .euc-tw
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis


# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
#AddEncoding x-compress Z
#AddEncoding x-gzip gz tgz

#
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico

AddHandler type-map var

#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml


# Guess the MIME type of a file by looking at a few bytes of its contents
# http://httpd.apache.org/docs-2.0/mod/mod_mime_magic.html
<IfModule mod_mime_magic.c>
    MIMEMagicFile /etc/apache2/magic
</IfModule>
 
Last edited by a moderator:
Back
Top