From c5f312dab7a7726beae137fb328c6ef1a5affc9b Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 13 Apr 2016 20:32:49 +0200 Subject: Build/test: Work on front --- extras/misc/apache2.conf | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) (limited to 'extras/misc') diff --git a/extras/misc/apache2.conf b/extras/misc/apache2.conf index 08471e0..572e232 100644 --- a/extras/misc/apache2.conf +++ b/extras/misc/apache2.conf @@ -1,56 +1,51 @@ - - ServerAdmin drift@gathering.org - ServerName nms.tg16.gathering.org - ServerAlias nms.tg16.gathering.org + + ServerAdmin lol@example.com + ServerName nms.example.com + ServerAlias nms.example.com - 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/ - + DocumentRoot /opt/tgnms/web + ScriptAlias /api/write/ /opt/tgnms/web/api/write/ + ScriptAlias /api/read/ /opt/tgnms/web/api/read/ + ScriptAlias /api/public/ /opt/tgnms/web/api/public/ + AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch - AuthUserFile /srv/tgmanage/web/htpasswd-write - AuthName "Tech:Server Secret Volcano Lair" + AuthUserFile /opt/tgnms/etc/htpasswd-write + AuthName "Demo/test of tgnms write" AuthType Basic Require valid-user - + AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch - AuthUserFile /srv/tgmanage/web/htpasswd-read - AuthName "The Gathering Network Management System" + AuthUserFile /opt/tgnms/etc/htpasswd-read + AuthName "Demo/test of tgnms read" 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 - + Require all granted - ErrorLog /var/log/apache2/error-nms.tg16.gathering.org.log + ErrorLog /var/log/apache2/error-nms.example.com.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 + CustomLog /var/log/apache2/access-nms.example.com.log combined ServerSignature On -- cgit v1.2.3