blob: 6998129460d54cbe8f82295be078307efaf20288 (
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
- RedirectMatch permanent .* http://php.example.com/
- CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
- </VirtualHost>
|