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