aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Kraai <kraai>2009-08-14 05:30:38 +0000
committerMatt Kraai <kraai>2009-08-14 05:30:38 +0000
commitafa9d7786ccd03b3e537409348aade3ba70d35e8 (patch)
treeff32afbf0c14891bd7183cf7ebf6818c15daae57
parentc3f7abd005646de819bfcaba764b32287579e257 (diff)
Document how to configure Apache to send the correct Content-Type
headers for the Spanish translations of HTML, PDF, and plain text files. CVS version numbers english/mirror/webmirror.wml: 1.42 -> 1.43
-rw-r--r--english/mirror/webmirror.wml18
1 files changed, 18 insertions, 0 deletions
diff --git a/english/mirror/webmirror.wml b/english/mirror/webmirror.wml
index 40f41107d80..37272f9ef85 100644
--- a/english/mirror/webmirror.wml
+++ b/english/mirror/webmirror.wml
@@ -234,6 +234,24 @@ this:</p>
AddType application/rss+xml .rdf
</pre>
+<p>To send the correct Content-Type header for the Spanish
+translations of HTML, PDF, and plain text files, Apache should be
+instructed to use the correct types, like this:</p>
+
+<pre>
+&lt;Files *.html.es>
+ ForceType text/html
+&lt;/Files>
+
+&lt;Files *.pdf.es>
+ ForceType application/pdf
+&lt;/Files>
+
+&lt;Files *.txt.es>
+ ForceType text/plain
+&lt;/Files>
+</pre>
+
<p>To avoid problems with content-negotiation with the content under
<a href="../events/">/events</a>, calendar files need to be assigned a
lower priority than text/html content:</p>

© 2014-2024 Faster IT GmbH | imprint | privacy policy