diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2015-04-02 19:24:45 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2015-04-02 19:24:45 +0200 |
commit | 0d8bba263dc195147d6fdb09662e7926f0a58b3e (patch) | |
tree | 4c570b4376c323e585120e7695b8715be7aa8881 /web/etc/apache2/nms.tg15.gathering.org | |
parent | e4354b47bd8891c5b1ee591fdf74b3ca67eee461 (diff) |
Bump lots of changes
Diffstat (limited to 'web/etc/apache2/nms.tg15.gathering.org')
-rw-r--r-- | web/etc/apache2/nms.tg15.gathering.org | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/web/etc/apache2/nms.tg15.gathering.org b/web/etc/apache2/nms.tg15.gathering.org index e177d44..a671c0a 100644 --- a/web/etc/apache2/nms.tg15.gathering.org +++ b/web/etc/apache2/nms.tg15.gathering.org @@ -11,10 +11,22 @@ AddHandler cgi-script .cgi .sh .pl .py AddDefaultCharset UTF-8 - AuthUserFile /root/tgmanage/web/.htpasswd - AuthName "Tech:Server Secret Volcano Lair" - AuthType Basic - require valid-user + SetEnvIF ^X-Forwarded-For$ "^185\.12\.59\.12$" AllowIP + SetEnvIF ^X-Forwarded-For$ "^2a02:ed02:1337::12$" AllowIP + + <RequireAny> + AuthUserFile /root/tgmanage/web/.htpasswd + AuthName "Tech:Server Secret Volcano Lair" + AuthType Basic + Require valid-user + + Require env AllowIP + </RequireAny> + + #AuthUserFile /root/tgmanage/web/.htpasswd + #AuthName "Tech:Server Secret Volcano Lair" + #AuthType Basic + #require valid-user </Directory> ErrorLog /var/log/apache2/error-nms.tg15.gathering.org.log |