From cf5d2c93b851e253d5e0cf5a969bb96f8fea4e93 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Sat, 20 Feb 2016 21:15:14 +0100 Subject: nms: Basic apache conf Now with .conf since that's what apache2 includes --- web/etc/apache2/nms.tg16.gathering.org.conf | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 web/etc/apache2/nms.tg16.gathering.org.conf (limited to 'web') diff --git a/web/etc/apache2/nms.tg16.gathering.org.conf b/web/etc/apache2/nms.tg16.gathering.org.conf new file mode 100644 index 0000000..db8910a --- /dev/null +++ b/web/etc/apache2/nms.tg16.gathering.org.conf @@ -0,0 +1,41 @@ + + ServerAdmin drift@gathering.org + ServerName nms.tg16.gathering.org + ServerAlias einstein.tg16.gathering.org + + DocumentRoot /root/tgmanage/web/nms.gathering.org + + AllowOverride None + Options Indexes FollowSymLinks ExecCGI MultiViews + + AddHandler cgi-script .cgi .sh .pl .py + AddDefaultCharset UTF-8 + + SetEnvIF ^X-Forwarded-For$ "^185\.12\.59\.12$" AllowIP + SetEnvIF ^X-Forwarded-For$ "^2a02:ed02:1337::12$" AllowIP + + + AuthUserFile /root/tgmanage/web/.htpasswd + AuthName "Tech:Server Secret Volcano Lair" + AuthType Basic + Require valid-user + + Require env AllowIP + + + #AuthUserFile /root/tgmanage/web/.htpasswd + #AuthName "Tech:Server Secret Volcano Lair" + #AuthType Basic + #require valid-user + + + ErrorLog /var/log/apache2/error-nms.tg16.gathering.org.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/access-nms.tg16.gathering.org.log combined + ServerSignature On + + -- cgit v1.2.3