blob: 259d5f1f5603ffbf3ebaeab3583a2de826dea067 (
plain)
- <VirtualHost *:80>
- ServerName php.example.com
- ServerAdmin webmaster@example.com
- DocumentRoot /var/www-php-app/foo
- <Location />
- DirectoryIndex index.php
- SetHandler uwsgi-handler
- uWSGISocket /run/uwsgi/app/local-php-app/socket
- uWSGImodifier1 9
- </Location>
- ErrorLog ${APACHE_LOG_DIR}/www.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/www.example.com-access.log combined
- </VirtualHost>
- <VirtualHost *:80>
- ServerName www.php.example.com
- ServerAlias *.php.example.com
- Include conf.d/local-log-origin.conf
- RedirectMatch permanent .* http://php.example.com/
- ErrorLog ${APACHE_LOG_DIR}/django.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/django.example.com-access.log origin
- </VirtualHost>
|