<VirtualHost *:80>
    ServerName localhost
    ServerAdmin pziarsolo@cect.org

    Alias /static   /home/webadmin/devel/mirri_tools/static
    Alias /media   /home/webadmin/devel/mirri_tools/media

	WSGIPassAuthorization On
	WSGIDaemonProcess tools.mirri.org python-path=/home/webadmin/devel/mirri_tools:/home/webadmin/devel/mirri_utils:/home/webadmin/devel/pyenv/lib/python3.7/site-packages
	WSGIProcessGroup tools.mirri.org

	WSGIScriptAlias / /home/webadmin/devel/mirri_tools/mirri_tools_web/wsgi.py

        <Directory /home/webadmin/devel/mirri_tools/mirri_tools_web/ >
            <Files wsgi.py>
                Require all granted
            </Files>
        </Directory>
        <Directory /home/webadmin/devel/mirri_tools/static>
                Require all granted
        </Directory>
        <Directory /home/webadmin/devel/mirri_tools/media>
                Require all granted
        </Directory>

	DocumentRoot /var/www/html

    CustomLog ${APACHE_LOG_DIR}/validator_access.log combined
    ErrorLog ${APACHE_LOG_DIR}/validator_error.log
    LogLevel warn
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
