]>
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 | |
12 | Order allow,deny | |
13 | Allow from all | |
14 | </Directory> | |
d733119b | 15 | <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)"> |
90c973a6 MT |
16 | AuthName "IPFire - Restricted" |
17 | AuthType Basic | |
18 | AuthUserFile /var/ipfire/auth/users | |
19 | Require user admin | |
20 | </DirectoryMatch> | |
d733119b MT |
21 | ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/ |
22 | <Directory /srv/web/ipfire/cgi-bin> | |
90c973a6 MT |
23 | AllowOverride None |
24 | Options None | |
25 | AuthName "IPFire - Restricted" | |
26 | AuthType Basic | |
27 | AuthUserFile /var/ipfire/auth/users | |
28 | Require user admin | |
29 | <Files chpasswd.cgi> | |
30 | Satisfy Any | |
31 | Allow from All | |
32 | </Files> | |
33 | <Files webaccess.cgi> | |
34 | Satisfy Any | |
35 | Allow from All | |
36 | </Files> | |
37 | <Files credits.cgi> | |
38 | Satisfy Any | |
39 | Allow from All | |
40 | </Files> | |
41 | <Files dial.cgi> | |
42 | Require user admin | |
43 | </Files> | |
44 | </Directory> | |
d733119b | 45 | <Directory /srv/web/ipfire/cgi-bin/dial> |
90c973a6 MT |
46 | AllowOverride None |
47 | Options None | |
48 | AuthName "IPFire - Restricted" | |
49 | AuthType Basic | |
50 | AuthUserFile /var/ipfire/auth/users | |
51 | Require user dial admin | |
52 | </Directory> | |
381f2e71 | 53 | Alias /updatecache/ /var/updatecache/ |
e9007fef CS |
54 | <Directory /var/updatecache> |
55 | Options ExecCGI | |
56 | AllowOverride None | |
57 | Order deny,allow | |
58 | Allow from all | |
59 | </Directory> | |
60 | Alias /repository/ /var/urlrepo/ | |
61 | <Directory /var/urlrepo> | |
62 | Options ExecCGI | |
63 | AllowOverride None | |
64 | Order deny,allow | |
65 | Allow from all | |
66 | </Directory> | |
5af32f5c | 67 | Alias /wpad.dat /srv/web/ipfire/html/proxy.pac |
381f2e71 | 68 | </VirtualHost> |