1234567891011121314151617181920212223242526 |
- {% if ansible_prolog -%}
- {% from 'templates/ansible/prolog.j2' import prolog with context %}
- {{ prolog() }}
- {% endif -%}
- # Apache vhost for phpmyadmin
- <VirtualHost *:80>
- ServerName {{ phpmyadmin_vhostname }}
- DocumentRoot /usr/share/phpmyadmin
- DirectoryIndex index.php
- <Location />
- AuthType basic
- AuthName "Restricted Access"
- AuthUserFile /etc/apache2/auth_admin
- Require valid-user
- </Location>
- Include /etc/phpmyadmin/apache.conf
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/pma.access.log combined
- ErrorLog ${APACHE_LOG_DIR}/pma.error.log
- </VirtualHost>
|