diff options
author | Dirk-Willem van Gulik <dirkx@apache.org> | 2000-03-17 02:14:11 +0100 |
---|---|---|
committer | Dirk-Willem van Gulik <dirkx@apache.org> | 2000-03-17 02:14:11 +0100 |
commit | 66d7a81147d5779a408145880e92cb454064c764 (patch) | |
tree | 239c3cb46f716621c03169558c3a0b9e8c826f88 /docs | |
parent | Added AddCharset back in again. Need that badly for (diff) | |
download | apache2-66d7a81147d5779a408145880e92cb454064c764.tar.xz apache2-66d7a81147d5779a408145880e92cb454064c764.zip |
After adding the AddCharset's back in; here is some
minor stuff to make that work and some examples.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/conf/httpd-std.conf | 76 | ||||
-rw-r--r-- | docs/conf/httpd-win.conf | 12 | ||||
-rw-r--r-- | docs/docroot/index.html.et (renamed from docs/docroot/index.html.ee) | 0 | ||||
-rw-r--r-- | docs/docroot/index.html.ja.iso2022-jp (renamed from docs/docroot/index.html.ja.jis) | 0 | ||||
-rw-r--r-- | docs/docroot/index.html.kr.iso2022-kr (renamed from docs/docroot/index.html.kr.iso-kr) | 0 | ||||
-rw-r--r-- | docs/docroot/index.html.ltz (renamed from docs/docroot/index.html.lu) | 0 | ||||
-rw-r--r-- | docs/docroot/index.html.po.iso-pl | 54 |
7 files changed, 72 insertions, 70 deletions
diff --git a/docs/conf/httpd-std.conf b/docs/conf/httpd-std.conf index 7b0f6632ad..6f45132efd 100644 --- a/docs/conf/httpd-std.conf +++ b/docs/conf/httpd-std.conf @@ -630,9 +630,20 @@ AddEncoding x-compress Z AddEncoding x-gzip gz tgz # -# AddLanguage allows you to specify the language of a document. You can -# then use content negotiation to give a browser a file in a language -# it can understand. +# DefaultLanguage and AddLanguage allows you to specify the language of +# a document. You can then use content negotiation to give a browser a +# file in a language the user can understand. +# +# Specify a default langyage. This means that all data +# going out without a specific language tag (See below) will +# be marked with this one. You propably do NOT want to set +# this unless you are sure it is correct for all cases. +# +# * It is generally better to not mark a pages as in +# * being a certain language than marking it with the wrong +# * language! +# +# DefaultLanguage nl # # Note 1: The suffix does not have to be the same as the language # keyword --- those with documents in Polish (whose net-standard @@ -648,7 +659,7 @@ AddEncoding x-gzip gz tgz # specifier. But there is 'work in progress' to fix this and get # the reference data for rfc1766 cleaned up. # -# Danish (da) - Dutch (nl) - English (en) - Estonian (ee) +# Danish (da) - Dutch (nl) - English (en) - Estonian (et) # French (fr) - German (de) - Greek-Modern (el) # Italian (it) - Norwegian (no) - Korean (kr) # Portugese (pt) - Luxembourgeois* (ltz) @@ -658,21 +669,18 @@ AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en -AddLanguage et .ee +AddLanguage et .et AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage it .it AddLanguage ja .ja -AddCharset ISO-2022-JP .jis AddLanguage pl .po AddLanguage kr .kr -AddCharset ISO-2022-KR .iso-kr -AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage no .no AddLanguage pt-br .pt-br -AddLanguage ltz .lu +AddLanguage ltz .ltz AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se @@ -686,7 +694,55 @@ AddLanguage cz .cz # LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv -# + +# Specify a default charset for all pages sent out. This is +# always a good idea and opens the door for future internationalisation +# of your web site, should you ever want it. Specifying it as +# a default does little harm; as the standart dictates that a page +# is in iso-8859-1 (latin1) unless specified otherwise. I.e. you +# are merely stating the obvious. There are also some security +# reasons in browsers, related to javascript and URL parsing +# which encourage to always set a default char set. +# +AddDefaultCharset ISO-8859-1 + +# +# Commonly used filename extensions to character sets. You propably +# want to avoid clashes with the language extensions, unless you +# are good at carefully testing your setup after each change. +# +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 +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 + +# The set below does not map to a specific (iso) standard +# but works on a fairly wide range of browser. Note that +# capitalization actually matters (it should not, but it +# does for some browsers). +# +# See ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets +# for a list of sorts. But browsers support few. +# +AddCharset KOI8-r .koi8-ru .ru +AddCharset KOI8-ru .koi8-uk .ua +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 + # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 6890183b75..03f6a9d9e4 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -580,7 +580,7 @@ AddEncoding x-gzip gz tgz # specifier. But there is 'work in progress' to fix this and get # the reference data for rfc1766 cleaned up. # -# Danish (da) - Dutch (nl) - English (en) - Estonian (ee) +# Danish (da) - Dutch (nl) - English (en) - Estonian (et) # French (fr) - German (de) - Greek-Modern (el) # Italian (it) - Norwegian (no) - Korean (kr) # Portugese (pt) - Luxembourgeois* (ltz) @@ -590,21 +590,21 @@ AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en -AddLanguage et .ee +AddLanguage et .et AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage it .it AddLanguage ja .ja -AddCharset ISO-2022-JP .jis +AddCharset ISO-2022-JP .iso2022-jp AddLanguage pl .po AddLanguage kr .kr -AddCharset ISO-2022-KR .iso-kr -AddCharset ISO-8859-2 .iso-pl +AddCharset ISO-2022-KR .iso2022-kr +AddCharset ISO-8859-2 .iso8859-pl AddLanguage pt .pt AddLanguage no .no AddLanguage pt-br .pt-br -AddLanguage ltz .lu +AddLanguage ltz .ltz AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se diff --git a/docs/docroot/index.html.ee b/docs/docroot/index.html.et index 879c30e381..879c30e381 100644 --- a/docs/docroot/index.html.ee +++ b/docs/docroot/index.html.et diff --git a/docs/docroot/index.html.ja.jis b/docs/docroot/index.html.ja.iso2022-jp index 0a4e545261..0a4e545261 100644 --- a/docs/docroot/index.html.ja.jis +++ b/docs/docroot/index.html.ja.iso2022-jp diff --git a/docs/docroot/index.html.kr.iso-kr b/docs/docroot/index.html.kr.iso2022-kr index c89eeb7e47..c89eeb7e47 100644 --- a/docs/docroot/index.html.kr.iso-kr +++ b/docs/docroot/index.html.kr.iso2022-kr diff --git a/docs/docroot/index.html.lu b/docs/docroot/index.html.ltz index f068a83e77..f068a83e77 100644 --- a/docs/docroot/index.html.lu +++ b/docs/docroot/index.html.ltz diff --git a/docs/docroot/index.html.po.iso-pl b/docs/docroot/index.html.po.iso-pl deleted file mode 100644 index 18275b7216..0000000000 --- a/docs/docroot/index.html.po.iso-pl +++ /dev/null @@ -1,54 +0,0 @@ -<!doctype html public "-//w3c//dtd html 3.2 final//en"> -<html> - <head> - <title>Strona kontrolna dla instalacji Apache na tej stronie</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> - <!-- translated by mihau, mihau@gmx.net | mihau PRODUCTIONS - http://www.mihau.de/ on january 29th 2000 --> - </head> -<!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body - bgcolor="#ffffff" - text="#000000" - link="#0000ff" - vlink="#000080" - alink="#ff0000" - > - <h1 align="center"> - Udało się! Serwer Apache jest zainstalowany na tej stronie! - </h1> - <p> - Jeśli widzisz tą stronę to znaczy że właśćiciel tej domeny - właśnie z sukcesem zainstalował serwera - <a href="http://www.apache.org/httpd">Apache</a>. - Teraz on musi tą strone zamienic na to na co przeznaczył domene - (albo nastawić serwer tak, ze będzie pokazywać to co powinien). - </p> - <hr> - <blockquote> - Jeśli ta strona nie jest to, czego oczekiwałeś, to - <strong>skontaktuj się z właśćicielem tej strony</strong> (spróbuj wysłac - mail do <samp><webmaster@<em>domena</em>></samp>)!<br> - <p> - Chociaż właśćiciel tej domeny używa serwera Apache, - strona ta nie ma nic wspólnego z <em>Apache Software Foundation</em> - (ktora rozdaje ten program za darmo). Dla tego - <big><strong>nie pisz</strong></big> email-ów do webmastera tej strony - jeśli masz pytania techniczne dotyczające serwera Apache. Miałbys jednak - napisać mimo wszystko taką mail, będzie ona <strong><big>ignorowana</big></strong>. - </blockquote> - <hr> - <p> - Do tej dystrybucji należy angielska - <a href="manual/index.html">dokumentacja</a>. - </p> - <p> - <i>Webmaster</i> tej strony może, ale nie musi używac obrazek - "Powered by Apache" na tym serwerze. - <br> - Dziękujemy ze zecydowałes się na Apache! - </p> - <div align="center"> - <img src="apache_pb.gif" alt="Powered by Apache!"> - </div> - </body> -</html> |