mirror of
https://github.com/wger-project/wger.git
synced 2026-12-04 12:42:33 +01:00
Add notes in production documentation about filenames
The apache enviromental variable for the language needs to be explicitly set to UTF8, otherwise it is not possible to upload files with non-ASCII names in them, even if using python 3. https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/ Fixes #267
This commit is contained in:
@@ -47,6 +47,14 @@ Configure apache to serve the application::
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
|
||||
Apache has a problem when uploading files that have non-ASCII characters, e.g.
|
||||
for exercise images. To avoid this, add to /etc/apache2/envvars (if there is
|
||||
already an ``export LANG``, replace it)::
|
||||
|
||||
export LANG='en_US.UTF-8'
|
||||
export LC_ALL='en_US.UTF-8'
|
||||
|
||||
|
||||
Activate the settings and disable apache's default::
|
||||
|
||||
sudo a2dissite 000-default.conf
|
||||
|
||||
@@ -95,6 +95,7 @@
|
||||
</li>
|
||||
<li>
|
||||
Other improvements and bugfixes
|
||||
<a href="https://github.com/rolandgeider/wger/issues/267">#267</a>
|
||||
<a href="https://github.com/rolandgeider/wger/issues/256">#256</a>
|
||||
<a href="https://github.com/rolandgeider/wger/issues/242">#242</a>
|
||||
<a href="https://github.com/rolandgeider/wger/issues/238">#238</a>
|
||||
|
||||
Reference in New Issue
Block a user