]> git.phdru.name Git - ansible.git/commitdiff
Fix(apache): Remove mentions of me
authorOleg Broytman <phd@phdru.name>
Wed, 31 Jul 2019 16:50:38 +0000 (19:50 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 31 Jul 2019 16:50:38 +0000 (19:50 +0300)
Make the config more generic.

playbooks/debian/roles/apache/templates/001-phd.conf

index f4a91fb95b7f650b932565c320a53eb8f431fe66..b4e06a2531c52a609ad86c28530d9d7bd24cb875 100644 (file)
@@ -1,5 +1,5 @@
 ServerName localhost
-ServerAdmin phd@{{ inventory_hostname }}
+ServerAdmin webmaster@{{ inventory_hostname }}
 MaxConnectionsPerChild 10
 
 <IfModule prefork.c>
@@ -36,7 +36,7 @@ AddDefaultCharset koi8-r
     AuthUserFile /usr/local/apache2/data/apache.passwd
     <RequireAll>
     Require ip 127.0.0.1 {{ ansible_facts.default_ipv4.address }}
-    Require user phd
+    Require user webmaster
     </RequireAll>
 </Location>
 
@@ -104,10 +104,6 @@ Options Indexes FollowSymLinks
 RemoveHandler .py
 </Directory>
 
-<Location /~phd/Bookmarks>
-ErrorDocument 404 /~phd/Bookmarks/notfound.html
-</Location>
-
 <VirtualHost {{ ansible_facts.default_ipv4.address }}:80>
 ServerName unknown.invalid
 DocumentRoot /usr/local/apache2/_default_/