From: Oleg Broytman Date: Tue, 30 Jul 2019 16:13:37 +0000 (+0300) Subject: Fix(add-apache-vhost): Fix directories X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1d8e90526553fb429b5fb0f33c14e7917f8155a4;p=ansible.git Fix(add-apache-vhost): Fix directories --- diff --git a/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf b/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf index 3ca21de..f0defef 100644 --- a/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf +++ b/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf @@ -15,16 +15,16 @@ CustomLog /var/log/apache2/{{ virtual_host }}/access_log common ServerName {{ virtual_host }} -DocumentRoot /home/phd/Internet/WWW/htdocs/{{ virtual_host }} -ScriptAlias /cgi-bin /home/phd/Internet/WWW/cgi-bin/{{ virtual_host }} +DocumentRoot /usr/local/apache2/htdocs/{{ virtual_host }} +ScriptAlias /cgi-bin /usr/local/apache2/cgi-bin/{{ virtual_host }} ErrorLog /var/log/apache2/{{ virtual_host }}/error_log CustomLog /var/log/apache2/{{ virtual_host }}/access_log common - + Require all granted - + Require all granted @@ -72,7 +72,7 @@ SSLCertificateKeyFile /etc/apache2/ssl/{{ virtual_host }}.key SSLRequireSSL - + SSLOptions +StdEnvVars