Gitlab CSE Unil

Commit a5bc91d8 authored by Julien Furrer's avatar Julien Furrer
Browse files

Corrigé apache base.conf template

parent 121641e8
......@@ -93,7 +93,7 @@
</Files>
</Directory>
{% if settings.BASE_URL and settings.BASE_URL != "/" %}
RedirectMatch ^{{ settings.BASE_URL }}$ {{ settings.BASE_URL }}
RedirectMatch ^{{ settings.BASE_URL|make_list|slice:"-1"|join:"" }}$ {{ settings.BASE_URL }}
{% endif %}
{% endblock wsgi %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment