mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Merge pull request #1056 from holta/maps-url
Update http://box/maps & http://box/osm to point to new Vector Maps
This commit is contained in:
commit
7193c7888e
2 changed files with 9 additions and 4 deletions
|
@ -87,12 +87,14 @@
|
||||||
|
|
||||||
- name: Set osm_path (redhat)
|
- name: Set osm_path (redhat)
|
||||||
set_fact:
|
set_fact:
|
||||||
osm_path: "{{ osm_venv }}/{{ python_path }}/iiab"
|
#osm_path: "{{ osm_venv }}/{{ python_path }}/iiab"
|
||||||
|
osm_path: "{{ osm_venv }}{{ python_path }}/iiab"
|
||||||
when: osm_enabled and is_redhat
|
when: osm_enabled and is_redhat
|
||||||
|
|
||||||
- name: Set osm_path (debuntu)
|
- name: Set osm_path (debuntu)
|
||||||
set_fact:
|
set_fact:
|
||||||
osm_path: "{{ osm_venv }}/lib/python2.7/site-packages/iiab"
|
#osm_path: "{{ osm_venv }}/lib/python2.7/site-packages/iiab"
|
||||||
|
osm_path: "{{ osm_venv }}lib/python2.7/site-packages/iiab"
|
||||||
when: osm_enabled and is_debuntu
|
when: osm_enabled and is_debuntu
|
||||||
|
|
||||||
- name: Point wsgi to virtual environment (all OS's)
|
- name: Point wsgi to virtual environment (all OS's)
|
||||||
|
|
|
@ -5,9 +5,12 @@ XSendFilePath /
|
||||||
|
|
||||||
WSGIScriptAlias /iiab {{ doc_root }}/osm.wsgi
|
WSGIScriptAlias /iiab {{ doc_root }}/osm.wsgi
|
||||||
|
|
||||||
|
# For old bitmap/raster tileset
|
||||||
Alias /iiabstatic {{ osm_path }}/static
|
Alias /iiabstatic {{ osm_path }}/static
|
||||||
Alias /osm {{ osm_path }}/static
|
|
||||||
Alias /maps {{ osm_path }}/static
|
# For new vector tileset, as documented @ http://FAQ.IIAB.IO ("How do I add zoomable maps for my region? ") & http://download.iiab.io/content/OSM/vector-tiles/
|
||||||
|
Alias /maps /library/www/html/modules/en-osm-omt-min/
|
||||||
|
Alias /osm /library/www/html/modules/en-osm-omt-min/
|
||||||
|
|
||||||
<Directory {{ osm_path }}/static>
|
<Directory {{ osm_path }}/static>
|
||||||
require all granted
|
require all granted
|
||||||
|
|
Loading…
Reference in a new issue