{% load i18n %}
{% blocktrans %} The location of static media files (CSS, JavaScript, images) has changed. You will need to make manual changes to your web server configuration. {% endblocktrans %}
Alias {{SITE_ROOT}}static "{{STATIC_ROOT}}" <Location "{{SITE_ROOT}}static"> SetHandler None </Location>
{% blocktrans %}
Add the following to alias.url
:
{% endblocktrans %}
"{{SITE_ROOT}}static" => "{{STATIC_ROOT}}",
{% blocktrans %}
And this to url.rewrite-once
:
{% endblocktrans %}
"^({{SITE_ROOT}}static/.*)$" => "$1",
{% blocktrans %} These lines will look similar to the existing lines for the media files. {% endblocktrans %}
{% blocktrans %} Once you have made these changes, type the following to resolve this: {% endblocktrans %}
$ rb-site manage {{SITE_DIR}} resolve-check static-media