pma_vhost.j2 625 B

1234567891011121314151617181920212223242526
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. # Apache vhost for phpmyadmin
  6. <VirtualHost *:80>
  7. ServerName {{ phpmyadmin_vhostname }}
  8. DocumentRoot /usr/share/phpmyadmin
  9. DirectoryIndex index.php
  10. <Location />
  11. AuthType basic
  12. AuthName "Restricted Access"
  13. AuthUserFile /etc/apache2/auth_admin
  14. Require valid-user
  15. </Location>
  16. Include /etc/phpmyadmin/apache.conf
  17. LogLevel warn
  18. CustomLog ${APACHE_LOG_DIR}/pma.access.log combined
  19. ErrorLog ${APACHE_LOG_DIR}/pma.error.log
  20. </VirtualHost>