diff -r 000000000000 -r 186ad038b0d9 {{cookiecutter.project_slug}}/etc/apache2.2/{{cookiecutter.project_slug}}.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/{{cookiecutter.project_slug}}/etc/apache2.2/{{cookiecutter.project_slug}}.conf Wed Jun 07 15:43:34 2017 +0200 @@ -0,0 +1,31 @@ +WSGIDaemonProcess {{ cookiecutter.project_slug }} user={{ cookiecutter.run_user }} group={{ cookiecutter.run_group }} processes=4 threads=4 display-name="{{ cookiecutter.project_name }}" + + + + ServerAdmin webmaster@localhost + ServerName {{ cookiecutter.virtual_hostname }} + + DocumentRoot $((INSTALL))/var/htdocs + ErrorLog {{ cookiecutter.logs_directory }}/{{ cookiecutter.project_slug }}-error.log + + LogLevel warn + + CustomLog {{ cookiecutter.logs_directory }}/{{ cookiecutter.project_slug }}-access.log combined + + WSGIScriptAlias / $((INSTALL))/parts/wsgi/wsgi + WSGIImportScript $((INSTALL))/parts/wsgi/wsgi process-group={{ cookiecutter.project_slug }} application-group=%{GLOBAL} + + + Order deny, allow + Allow from all + + WSGIProcessGroup {{ cookiecutter.project_slug }} + WSGIApplicationGroup %{GLOBAL} + + + + Order deny, allow + Allow from all + + +