]>
Commit | Line | Data |
---|---|---|
90c973a6 MT |
1 | <VirtualHost *:81> |
2 | ||
d733119b | 3 | DocumentRoot /srv/web/ipfire/html |
90c973a6 MT |
4 | |
5 | RewriteEngine on | |
6 | RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS) | |
7 | RewriteRule .* - [F] | |
8 | ||
d733119b | 9 | <Directory /srv/web/ipfire/html> |
90c973a6 MT |
10 | Options ExecCGI |
11 | AllowOverride None | |
d41fe99f | 12 | Require all granted |
90c973a6 | 13 | </Directory> |
d733119b | 14 | <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)"> |
90c973a6 MT |
15 | AuthName "IPFire - Restricted" |
16 | AuthType Basic | |
17 | AuthUserFile /var/ipfire/auth/users | |
18 | Require user admin | |
19 | </DirectoryMatch> | |
d733119b MT |
20 | ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/ |
21 | <Directory /srv/web/ipfire/cgi-bin> | |
90c973a6 MT |
22 | AllowOverride None |
23 | Options None | |
24 | AuthName "IPFire - Restricted" | |
25 | AuthType Basic | |
26 | AuthUserFile /var/ipfire/auth/users | |
27 | Require user admin | |
28 | <Files chpasswd.cgi> | |
d41fe99f | 29 | Require all granted |
90c973a6 MT |
30 | </Files> |
31 | <Files webaccess.cgi> | |
d41fe99f | 32 | Require all granted |
90c973a6 | 33 | </Files> |
90c973a6 MT |
34 | <Files dial.cgi> |
35 | Require user admin | |
36 | </Files> | |
37 | </Directory> | |
d733119b | 38 | <Directory /srv/web/ipfire/cgi-bin/dial> |
90c973a6 MT |
39 | AllowOverride None |
40 | Options None | |
41 | AuthName "IPFire - Restricted" | |
42 | AuthType Basic | |
43 | AuthUserFile /var/ipfire/auth/users | |
44 | Require user dial admin | |
45 | </Directory> | |
381f2e71 | 46 | Alias /updatecache/ /var/updatecache/ |
e9007fef CS |
47 | <Directory /var/updatecache> |
48 | Options ExecCGI | |
49 | AllowOverride None | |
d41fe99f | 50 | Require all granted |
e9007fef CS |
51 | </Directory> |
52 | Alias /repository/ /var/urlrepo/ | |
53 | <Directory /var/urlrepo> | |
54 | Options ExecCGI | |
55 | AllowOverride None | |
d41fe99f | 56 | Require all granted |
e9007fef | 57 | </Directory> |
5af32f5c | 58 | Alias /wpad.dat /srv/web/ipfire/html/proxy.pac |
381f2e71 | 59 | </VirtualHost> |