]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/httpd/vhosts.d/ipfire-interface.conf
fix WebUI system information leak
[people/pmueller/ipfire-2.x.git] / config / httpd / vhosts.d / ipfire-interface.conf
CommitLineData
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>
90c973a6
MT
37 <Files dial.cgi>
38 Require user admin
39 </Files>
40 </Directory>
d733119b 41 <Directory /srv/web/ipfire/cgi-bin/dial>
90c973a6
MT
42 AllowOverride None
43 Options None
44 AuthName "IPFire - Restricted"
45 AuthType Basic
46 AuthUserFile /var/ipfire/auth/users
47 Require user dial admin
48 </Directory>
381f2e71 49 Alias /updatecache/ /var/updatecache/
e9007fef
CS
50 <Directory /var/updatecache>
51 Options ExecCGI
52 AllowOverride None
53 Order deny,allow
54 Allow from all
55 </Directory>
56 Alias /repository/ /var/urlrepo/
57 <Directory /var/urlrepo>
58 Options ExecCGI
59 AllowOverride None
60 Order deny,allow
61 Allow from all
62 </Directory>
5af32f5c 63 Alias /wpad.dat /srv/web/ipfire/html/proxy.pac
381f2e71 64</VirtualHost>