metanohi-misc-subsites/subsites/films/apache-config-template

29 lines
931 B
Plaintext

<VirtualHost *:80>
ServerName films.example.org
ServerAlias films.example.org
ServerAdmin webmaster@example.org
DocumentRoot /path/to/dir/of/films
Alias /robots.txt /path/to/dir/of/films/robots.txt
Alias /favicon.ico /path/to/dir/of/films/favicon.ico
Alias /favicon.png /path/to/dir/of/films/favicon.png
Alias /static /path/to/dir/of/films/static
Alias /previews /path/to/dir/of/films/previews
Alias /films /path/to/dir/of/videos
Alias /films.wsgi /path/to/dir/of/films/films.wsgi
Alias /apache-config-template /path/to/dir/of/films/apache-config-template
<Directory /path/to/dir/of/films>
Order allow,deny
Allow from all
</Directory>
WSGIDaemonProcess films.example.org processes=2 threads=15 display-name=%{GROUP}
WSGIProcessGroup films.example.org
WSGIScriptAlias / /path/to/dir/of/films/films.wsgi
</VirtualHost>