1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Mention Apache's AddDefaultCharset directive in docs

This commit is contained in:
Lauren Ko 2023-11-30 12:35:24 -06:00 committed by GitHub
parent f40e7ef18c
commit ff9a442bfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,6 +307,13 @@ Then, in your config, simply include:
The configuration assumes uwsgi is started with ``uwsgi uwsgi.ini``
Note, the default httpd.conf may include the directive ``AddDefaultCharset UTF-8``.
This may cause the <20> replacement character to appear for some characters when replaying archived HTML content that specifies an alternative charset in the META tags.
To allow the charset specified by the archived content to prevail, comment out the directive:
.. code:: apache
# AddDefaultCharset UTF-8
.. _config-acl-header: