{% load i18n %}

{% trans "Static media directory changes" %}

{% 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 %}

{% trans "Apache" %}

  Alias {{SITE_ROOT}}static "{{STATIC_ROOT}}"

  <Location "{{SITE_ROOT}}static">
      SetHandler None
  </Location>

{% trans "lighttpd" %}

{% 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 %}

{% trans "Finishing up" %}

{% blocktrans %} Once you have made these changes, type the following to resolve this: {% endblocktrans %}

  $ rb-site manage {{SITE_DIR}} resolve-check static-media