diff options
author | Matt Kraai <kraai> | 2009-08-14 05:30:38 +0000 |
---|---|---|
committer | Matt Kraai <kraai> | 2009-08-14 05:30:38 +0000 |
commit | afa9d7786ccd03b3e537409348aade3ba70d35e8 (patch) | |
tree | ff32afbf0c14891bd7183cf7ebf6818c15daae57 | |
parent | c3f7abd005646de819bfcaba764b32287579e257 (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.wml | 18 |
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> +<Files *.html.es> + ForceType text/html +</Files> + +<Files *.pdf.es> + ForceType application/pdf +</Files> + +<Files *.txt.es> + ForceType text/plain +</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> |