Being more explicit about rendering paths in template configurations.

stable
Frederic Daniel Luc Lehobey 2009-12-22 11:32:13 +01:00
rodzic 2b8b2dea55
commit 580ccab401
2 zmienionych plików z 11 dodań i 2 usunięć

Wyświetl plik

@ -17,6 +17,15 @@
Allow from all
</Directory>
# Alias RENDERING_RESULT_URL RENDERING_RESULT_PATH
# as defined in www/settings_local.py
Alias /rendered /path/to/rendering/results/
<Directory /path/to/rendering/results/>
Options FollowSymlinks +Indexes
Order allow,deny
Allow from all
</Directory>
LogLevel warn
ServerSignature On

Wyświetl plik

@ -41,8 +41,8 @@ DATABASE_PORT = '' # Set to empty string for default. Not used with
# Path to ocitysmap's config file to use, or None for the default in ~/
OCITYSMAP_CFG_PATH = None
RENDERING_RESULT_PATH = '/tmp/direc/tory'
RENDERING_RESULT_URL = 'http://host.name/dir/ec/tory'
RENDERING_RESULT_PATH = '/path/to/rendering/results/'
RENDERING_RESULT_URL = 'http://host.name/rendered/'
RENDERING_RESULT_FORMATS = ['png', 'svg', 'pdf']
RENDERING_RESULT_MAX_SIZE_GB = 30