summaryrefslogtreecommitdiffstats
path: root/docs/error/include
diff options
context:
space:
mode:
authorErik Abele <erikabele@apache.org>2002-08-24 18:45:42 +0200
committerErik Abele <erikabele@apache.org>2002-08-24 18:45:42 +0200
commitb750a2a14bec47848aec7b58b680660be23f13b8 (patch)
treece1d1c3ec813ed10e42eb25e98e4fea823154b0e /docs/error/include
parentFixed some typos, improved the security note. (diff)
downloadapache2-b750a2a14bec47848aec7b58b680660be23f13b8.tar.xz
apache2-b750a2a14bec47848aec7b58b680660be23f13b8.zip
Included two new SSI-vars to correct the internationalized
error-response behaviours. CHARACTER_ENCODING, CONTENT_LANGUAGE. Submitted by: Hiroaki Kawai <hawk@bcl.t.u-tokyo.ac.jp> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96519 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/error/include')
-rw-r--r--docs/error/include/top.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/error/include/top.html b/docs/error/include/top.html
index d49a323d54..4c3321e8fd 100644
--- a/docs/error/include/top.html
+++ b/docs/error/include/top.html
@@ -1,10 +1,16 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--#if expr="! $CONTENT_LANGUAGE" -->
+<!--#set var="CONTENT_LANGUAGE" value="en" -->
+<!--#endif -->
+<!--#if expr="! $CHARACTER_ENCODING" -->
+<!--#set var="CHARACTER_ENCODING" value="ISO-8859-1" -->
+<!--#endif -->
+<?xml version="1.0" encoding="<!--#echo var="CHARACTER_ENCODING" -->"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<!--#echo var="CONTENT_LANGUAGE" -->">
<head>
<title><!--#echo var="TITLE" --></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<meta http-equiv="Content-Type" content="text/html; charset=<!--#echo var="CHARACTER_ENCODING" -->" />
<link rev="made" href="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" -->" />
<style type="text/css">
<!--