This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/airavata.git
commit f4cc483734c6f9c674c26e5f6b9627c4d7e9fc96 Author: Marcus Christie <[email protected]> AuthorDate: Thu Apr 27 15:42:44 2023 -0400 AIRAVATA-3697 Set lang and locale on WSGIDaemonProcess This is so that the Django portal code can handle filenames with UTF8 characters. --- .../ansible/roles/django/templates/django-ssl-vhost.conf.j2 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-tools/ansible/roles/django/templates/django-ssl-vhost.conf.j2 b/dev-tools/ansible/roles/django/templates/django-ssl-vhost.conf.j2 index 2c2f73f3b2..0764c34bd2 100644 --- a/dev-tools/ansible/roles/django/templates/django-ssl-vhost.conf.j2 +++ b/dev-tools/ansible/roles/django/templates/django-ssl-vhost.conf.j2 @@ -43,7 +43,7 @@ <VirtualHost *:{{ httpd_default_http_port }}> ServerName {{ vhost_servername }} - + ## Redirect all http traffic to https RewriteEngine On RewriteCond %{HTTPS} off @@ -99,7 +99,15 @@ {% endif %} {% endfor %} - WSGIDaemonProcess {{ vhost_servername }} display-name=%{GROUP} python-home={{ doc_root_dir }}/venv python-path={{ doc_root_dir }}/airavata-django-portal processes={{ django_wsgi_processes }} user={{ user }} group={{ group }} + WSGIDaemonProcess {{ vhost_servername }} \ + display-name=%{GROUP} \ + python-home={{ doc_root_dir }}/venv \ + python-path={{ doc_root_dir }}/airavata-django-portal \ + processes={{ django_wsgi_processes }} \ + user={{ user }} \ + group={{ group }} \ + lang=en_US.UTF-8 \ + locale=en_US.UTF-8 WSGIProcessGroup {{ vhost_servername }} WSGIScriptAlias / {{ doc_root_dir }}/airavata-django-portal/django_airavata/wsgi.py
