ServerAdmin lol@example.com
ServerName nms.example.com
ServerAlias nms.example.com
DocumentRoot /opt/gondul/web
ScriptAlias /api/write/ /opt/gondul/web/api/write/
ScriptAlias /api/read/ /opt/gondul/web/api/read/
ScriptAlias /api/public/ /opt/gondul/web/api/public/
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AuthUserFile /htpasswd-write
AuthName "Demo/test of nms"
AuthType Basic
Require valid-user
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AuthUserFile /htpasswd-read
AuthName "Demo/test of nms"
AuthType Basic
Require valid-user
AllowOverride None
Options +ExecCGI -MultiViews +Indexes +SymLinksIfOwnerMatch
Require all granted
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AddDefaultCharset UTF-8
Require all granted
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.example.com.log combined
ServerSignature On