aboutsummaryrefslogtreecommitdiffstats
path: root/extras/misc/apache2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'extras/misc/apache2.conf')
-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