kopia lustrzana https://github.com/hholzgra/maposmatic/
34 wiersze
1.0 KiB
Plaintext
34 wiersze
1.0 KiB
Plaintext
<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>
|
|
|
|
# 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
|
|
|
|
CustomLog /path/to/maposmatic/logs/access.log combined
|
|
ErrorLog /path/to/maposmatic/logs/error.log
|
|
</VirtualHost> |