aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-04-13 20:50:41 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-04-13 20:50:41 +0200
commite8a20f730651d07deff33dc559acfdca32cce271 (patch)
tree75bef8a5511e258a82db5cd54f60fcaae3ebca2b /extras
parent34b33fce5a2be8b3ab6dde7f4894da86eed70a0e (diff)
More work on adapting /opt and tests
Diffstat (limited to 'extras')
-rw-r--r--extras/misc/apache2.conf24
1 files changed, 12 insertions, 12 deletions
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/
- <Directory "/opt/tgnms/web/api/write/">
+ 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/
+ <Directory "/opt/nms/web/api/write/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
<RequireAny>
- 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
</RequireAny>
</Directory>
- <Directory "/opt/tgnms/web/api/read/">
+ <Directory "/opt/nms/web/api/read/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
<RequireAny>
- 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
</RequireAny>
</Directory>
- <Directory "/opt/tgnms/web/api/public/">
+ <Directory "/opt/nms/web/api/public/">
AllowOverride None
Options +ExecCGI -MultiViews +Indexes +SymLinksIfOwnerMatch
Require all granted
</Directory>
- <Directory "/opt/tgnms/web">
+ <Directory "/opt/nms/web">
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AddDefaultCharset UTF-8