diff options
Diffstat (limited to 'web')
| -rw-r--r-- | web/etc/apache2/nms.tg16.gathering.org.conf | 41 | 
1 files changed, 41 insertions, 0 deletions
| 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 @@ +<VirtualHost *:8080> +        ServerAdmin drift@gathering.org +        ServerName nms.tg16.gathering.org +        ServerAlias einstein.tg16.gathering.org + +        DocumentRoot /root/tgmanage/web/nms.gathering.org +        <Directory "/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 + +		<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.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 + +</VirtualHost> | 
