31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
<VirtualHost *:80>
|
|
|
|
ServerName lunchuman.example.org
|
|
ServerAlias www.lunchuman.example.org
|
|
ServerAdmin webmaster@example.org
|
|
|
|
DocumentRoot /path/to/dir/of/lunchuman
|
|
|
|
Alias /robots.txt /path/to/dir/of/lunchuman/robots.txt
|
|
Alias /favicon.ico /path/to/dir/of/lunchuman/favicon.ico
|
|
Alias /favicon.png /path/to/dir/of/lunchuman/favicon.png
|
|
Alias /static /path/to/dir/of/lunchuman/static
|
|
Alias /lunchuman.wsgi /path/to/dir/of/lunchuman/lunchuman.wsgi
|
|
Alias /apache-config-template /path/to/dir/of/lunchuman/apache-config-template
|
|
|
|
<Directory /path/to/dir/of/lunchuman>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
WSGIDaemonProcess lunchuman.example.org processes=2 threads=15 display-name=%{GROUP}
|
|
WSGIProcessGroup lunchuman.example.org
|
|
|
|
WSGIScriptAlias / /path/to/dir/of/lunchuman/lunchuman.wsgi
|
|
|
|
LogLevel warn
|
|
ErrorLog /var/log/apache2/lunchuman.example.org-error.log
|
|
CustomLog /var/log/apache2/lunchuman.example.org-access.log combined
|
|
|
|
</VirtualHost>
|