From e8a20f730651d07deff33dc559acfdca32cce271 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 13 Apr 2016 20:50:41 +0200 Subject: More work on adapting /opt and tests --- extras/misc/apache2.conf | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'extras/misc') diff --git a/extras/misc/apache2.conf b/extras/misc/apache2.conf index 572e232..a2b1e83 100644 --- a/extras/misc/apache2.conf +++ b/extras/misc/apache2.conf @@ -3,36 +3,36 @@ ServerName nms.example.com ServerAlias nms.example.com - 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/ - + DocumentRoot /opt/nms/web + ScriptAlias /api/write/ /opt/nms/web/api/write/ + ScriptAlias /api/read/ /opt/nms/web/api/read/ + ScriptAlias /api/public/ /opt/nms/web/api/public/ + AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch - AuthUserFile /opt/tgnms/etc/htpasswd-write - AuthName "Demo/test of tgnms write" + AuthUserFile /opt/nms/etc/htpasswd-write + AuthName "Demo/test of nms write" AuthType Basic Require valid-user - + AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch - AuthUserFile /opt/tgnms/etc/htpasswd-read - AuthName "Demo/test of tgnms read" + AuthUserFile /opt/nms/etc/htpasswd-read + AuthName "Demo/test of nms 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 -- cgit v1.2.3