aboutsummaryrefslogtreecommitdiffstats
path: root/web/etc/apache2/nms.tg16.gathering.org.conf
blob: 9a6d7cdf8d9e58052a40f690a9efdc4365eb0d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<VirtualHost *:8080>
        ServerAdmin drift@gathering.org
        ServerName nms.tg16.gathering.org
        ServerAlias einstein.tg16.gathering.org

        DocumentRoot /srv/tgmanage/web/nms.gathering.org
	ScriptAlias /api/private/ /srv/tgmanage/web/nms.gathering.org/api/private/
	ScriptAlias /api/public/ /srv/tgmanage/web/nms.gathering.org/api/public/
	<Directory "/srv/tgmanage/web/nms.gathering.org/api/private/">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		<RequireAny>
			AuthUserFile /srv/tgmanage/web/.htpasswd
	                AuthName "Tech:Server Secret Volcano Lair"
        	        AuthType Basic
			Require valid-user
		</RequireAny>
	</Directory>
	<Directory "/srv/tgmanage/web/nms.gathering.org/api/public/">
		AllowOverride None
		Options +ExecCGI -MultiViews +Indexes +SymLinksIfOwnerMatch
		Require all granted
	</Directory>
        <Directory "/srv/tgmanage/web/nms.gathering.org">
                AllowOverride None
                Options Indexes FollowSymLinks MultiViews

                AddDefaultCharset UTF-8

		<RequireAny>
			AuthUserFile /srv/tgmanage/web/.htpasswd
	                AuthName "Tech:Server Secret Volcano Lair"
        	        AuthType Basic
			Require valid-user
		</RequireAny>

        </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>