2009-12-20 22:59:51 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerAdmin postmaster@your.domain
|
|
|
|
ServerName maposmatic
|
|
|
|
|
|
|
|
DocumentRoot /path/to/maposmatic/www
|
|
|
|
WSGIScriptAlias / /path/to/maposmatic/www/maposmatic.wsgi
|
|
|
|
|
|
|
|
<Directory />
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride None
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
Alias /smedia /path/to/maposmatic/www/media/
|
|
|
|
<Directory /path/to/maposmatic/www/media/>
|
|
|
|
Options FollowSymlinks +Indexes
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</Directory>
|
|
|
|
|
2009-12-22 10:32:13 +00:00
|
|
|
# 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>
|
2022-03-09 08:48:45 +00:00
|
|
|
AddEncoding gzip svgz
|
2009-12-22 10:32:13 +00:00
|
|
|
|
2009-12-20 22:59:51 +00:00
|
|
|
LogLevel warn
|
|
|
|
ServerSignature On
|
|
|
|
|
2009-12-22 10:45:54 +00:00
|
|
|
CustomLog /path/to/maposmatic/logs/access.log combined
|
|
|
|
ErrorLog /path/to/maposmatic/logs/error.log
|
2022-03-09 08:48:45 +00:00
|
|
|
</VirtualHost>
|