aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@tgmanage.gathering.org>2015-03-28 16:35:51 +0100
committerroot <root@tgmanage.gathering.org>2015-03-28 16:35:51 +0100
commit85869b4ac378a39c20eefd3a6ef016f7cbc68766 (patch)
treed9a46f318517fab68537e6cb3885d357ddec37d5
parent7567e3006d076cde9326bfa0b4c12186d65a82f9 (diff)
Add tg15 Apache config for NMS
-rw-r--r--web/etc/apache2/nms-public.tg15.gathering.org11
-rw-r--r--web/etc/apache2/nms.tg15.gathering.org36
2 files changed, 47 insertions, 0 deletions
diff --git a/web/etc/apache2/nms-public.tg15.gathering.org b/web/etc/apache2/nms-public.tg15.gathering.org
new file mode 100644
index 0000000..4ebf79b
--- /dev/null
+++ b/web/etc/apache2/nms-public.tg15.gathering.org
@@ -0,0 +1,11 @@
+<VirtualHost *:80>
+ ServerAdmin drift@gathering.org
+ ServerName nms-public.tg15.gathering.org
+
+ DocumentRoot /srv/www/nms-public.tg15.gathering.org
+ AddHandler cgi-script .cgi .sh .pl .py
+
+ LogLevel warn
+ ErrorLog /var/log/apache2/error-nms-public.tg15.gathering.org.log
+ CustomLog /var/log/apache2/access-nms-public.tg15.gathering.org.log combined
+</VirtualHost>
diff --git a/web/etc/apache2/nms.tg15.gathering.org b/web/etc/apache2/nms.tg15.gathering.org
new file mode 100644
index 0000000..b06257d
--- /dev/null
+++ b/web/etc/apache2/nms.tg15.gathering.org
@@ -0,0 +1,36 @@
+<VirtualHost *:80>
+ ServerAdmin drift@gathering.org
+ ServerName nms.tg15.gathering.org
+ ServerAlias noget.tg15.gathering.org
+
+ DocumentRoot /root/tgmanage/web/nms.gathering.org
+ <Directory "/root/tgmanage/web/nms.gathering.org">
+ AllowOverride None
+ Options Indexes FollowSymLinks ExecCGI MultiViews
+ Order allow,deny
+ Satisfy any
+ Allow from ::1
+ Allow from 127.0.0.1
+ Allow from 192.168.122.0/24
+
+ AddHandler cgi-script .cgi .sh .pl .py
+ AddDefaultCharset UTF-8
+
+ AuthUserFile /root/tgmanage/web/.htpasswd
+ AuthGroupFile /dev/null
+ AuthName "Tech:Server Secret Volcano Lair"
+ AuthType Basic
+
+ require valid-user
+ </Directory>
+
+ ErrorLog /var/log/apache2/error-nms.tg15.gathering.org.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog /var/log/apache2/access-nms.tg15.gathering.org.log combined
+ ServerSignature On
+
+</VirtualHost>