mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
30 lines
728 B
Text
30 lines
728 B
Text
|
|
Alias {{ pathagar_subpath }}/static/ {{ pathagar_collectstatic }}/
|
|
Alias {{ pathagar_subpath }}/static_media/ {{ pathagar_media }}/
|
|
|
|
<Directory {{ pathagar_collectstatic }}>
|
|
Order deny,allow
|
|
Allow from all
|
|
Require all granted
|
|
</Directory>
|
|
|
|
<Directory {{ pathagar_media }}>
|
|
Order deny,allow
|
|
Allow from all
|
|
Require all granted
|
|
</Directory>
|
|
|
|
WSGIPythonPath {{ pathagar_dir }}:{{ pathagar_venv }}/lib/python2.7/site-packages
|
|
WSGIScriptAlias {{ pathagar_subpath }} {{ pathagar_dir }}/wsgi.py
|
|
|
|
<Directory {{ pathagar_dir }}>
|
|
<Files wsgi.py>
|
|
Order allow,deny
|
|
Allow from all
|
|
Require all granted
|
|
</Files>
|
|
</Directory>
|
|
|
|
|
|
CustomLog /var/log/{{ apache_service }}/pathagar-access.log combined
|
|
ServerSignature On
|