From 5b42f93b5b0d33dc5c790991431b6282a5671bc9 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Tue, 12 Apr 2016 18:35:37 +0200 Subject: Some housekeeping/reorganizing moving things that need work into extras/ --- extras/misc/apache2.conf | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 extras/misc/apache2.conf (limited to 'extras/misc/apache2.conf') diff --git a/extras/misc/apache2.conf b/extras/misc/apache2.conf new file mode 100644 index 0000000..08471e0 --- /dev/null +++ b/extras/misc/apache2.conf @@ -0,0 +1,56 @@ + + ServerAdmin drift@gathering.org + ServerName nms.tg16.gathering.org + ServerAlias nms.tg16.gathering.org + + DocumentRoot /srv/tgmanage/web/nms.gathering.org + ScriptAlias /api/write/ /srv/tgmanage/web/nms.gathering.org/api/write/ + ScriptAlias /api/read/ /srv/tgmanage/web/nms.gathering.org/api/read/ + ScriptAlias /api/public/ /srv/tgmanage/web/nms.gathering.org/api/public/ + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + + AuthUserFile /srv/tgmanage/web/htpasswd-write + AuthName "Tech:Server Secret Volcano Lair" + AuthType Basic + Require valid-user + + + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + + AuthUserFile /srv/tgmanage/web/htpasswd-read + AuthName "The Gathering Network Management System" + AuthType Basic + Require valid-user + + + + AllowOverride None + Options +ExecCGI -MultiViews +Indexes +SymLinksIfOwnerMatch + Require all granted + + + AllowOverride None + Options Indexes FollowSymLinks MultiViews + AddDefaultCharset UTF-8 + + AuthUserFile /srv/tgmanage/web/htpasswd-read + AuthName "The Gathering Network Management System" + AuthType Basic + Require valid-user + + + + ErrorLog /var/log/apache2/error-nms.tg16.gathering.org.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/access-nms.tg16.gathering.org.log combined + ServerSignature On + + -- cgit v1.2.3