X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Froles%2Fapache%2Ftemplates%2F001-phd.conf;h=b4e06a2531c52a609ad86c28530d9d7bd24cb875;hb=26d81517d2d679920a82ba54a48c86e1aee38cdc;hp=1547854999562734b6b30e16bf7b85783c5772ab;hpb=f0661e4d80d614401d75e1a38eba3918315debdd;p=ansible.git diff --git a/playbooks/debian/roles/apache/templates/001-phd.conf b/playbooks/debian/roles/apache/templates/001-phd.conf index 1547854..b4e06a2 100644 --- a/playbooks/debian/roles/apache/templates/001-phd.conf +++ b/playbooks/debian/roles/apache/templates/001-phd.conf @@ -1,4 +1,5 @@ -ServerAdmin phd@{{ inventory_hostname }} +ServerName localhost +ServerAdmin webmaster@{{ inventory_hostname }} MaxConnectionsPerChild 10 @@ -35,7 +36,7 @@ AddDefaultCharset koi8-r AuthUserFile /usr/local/apache2/data/apache.passwd Require ip 127.0.0.1 {{ ansible_facts.default_ipv4.address }} - Require user phd + Require user webmaster @@ -103,25 +104,21 @@ Options Indexes FollowSymLinks RemoveHandler .py - -ErrorDocument 404 /~phd/Bookmarks/notfound.html - - ServerName unknown.invalid -DocumentRoot /home/phd/Internet/WWW/htdocs/_default_/ +DocumentRoot /usr/local/apache2/_default_/ ErrorDocument 404 /nothing.html - + Require all granted -DocumentRoot /home/phd/Internet/WWW/htdocs/_default_/ +DocumentRoot /usr/local/apache2/_default_/ ErrorDocument 404 /nothing.html - + Require all granted