]>
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 | ||
0cabaf35 PM |
9 | Header always set X-Content-Type-Options nosniff |
10 | ||
d733119b | 11 | <Directory /srv/web/ipfire/html> |
90c973a6 MT |
12 | Options ExecCGI |
13 | AllowOverride None | |
d41fe99f | 14 | Require all granted |
90c973a6 | 15 | </Directory> |
d733119b | 16 | <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)"> |
6c6c1e3f PM |
17 | Options SymLinksIfOwnerMatch |
18 | RewriteEngine on | |
19 | RewriteCond %{HTTPS} off | |
20 | RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L] | |
90c973a6 | 21 | </DirectoryMatch> |
d733119b MT |
22 | ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/ |
23 | <Directory /srv/web/ipfire/cgi-bin> | |
6c6c1e3f PM |
24 | Options SymLinksIfOwnerMatch |
25 | RewriteEngine on | |
26 | RewriteCond %{HTTPS} off | |
27 | RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L] | |
90c973a6 | 28 | </Directory> |
381f2e71 | 29 | Alias /updatecache/ /var/updatecache/ |
e9007fef CS |
30 | <Directory /var/updatecache> |
31 | Options ExecCGI | |
32 | AllowOverride None | |
d41fe99f | 33 | Require all granted |
e9007fef CS |
34 | </Directory> |
35 | Alias /repository/ /var/urlrepo/ | |
36 | <Directory /var/urlrepo> | |
37 | Options ExecCGI | |
38 | AllowOverride None | |
d41fe99f | 39 | Require all granted |
e9007fef | 40 | </Directory> |
5af32f5c | 41 | Alias /wpad.dat /srv/web/ipfire/html/proxy.pac |
381f2e71 | 42 | </VirtualHost> |