Skip to content
Snippets Groups Projects
Commit f4537564 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

Task #11047: Moved the static html rest-interface files to a subdirectory.

Reinoud recommended for proxy/firewall/easier-to-maintain reasons that
the static files should be moved from /static/ to /triggers/static/.
  # Please enter the commit message for your changes. Lines starting
parent dceec992
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@ Listen 8000
WSGIScriptAlias / /opt/LOFAR/build/gnucxx11_opt/installed/lib64/python2.7/site-packages/lofar/triggerservices/restinterface/wsgi.py
Alias /static/ /opt/LOFAR/build/gnucxx11_opt/installed/lib64/python2.7/site-packages/lofar/triggerservices/static/
<Location "/static/">
Alias /triggers/static/ /opt/LOFAR/build/gnucxx11_opt/installed/lib64/python2.7/site-packages/lofar/triggerservices/static/
<Location "/triggers/static/">
Options -Indexes
</Location>
......
......@@ -125,7 +125,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.10/howto/static-files/
STATIC_URL = '/static/'
STATIC_URL = '/triggers//static/'
STATIC_ROOT = BASE_DIR+'/static/'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment