]>
Commit | Line | Data |
---|---|---|
90c973a6 MT |
1 | <VirtualHost *:444> |
2 | ||
3 | RewriteEngine on | |
4 | RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS) | |
5 | RewriteRule .* - [F] | |
d733119b | 6 | DocumentRoot /srv/web/ipfire/html |
90c973a6 MT |
7 | ServerAdmin root@localhost |
8 | ErrorLog /var/log/httpd/error_log | |
9 | TransferLog /var/log/httpd/access_log | |
10 | SSLEngine on | |
a7006325 | 11 | SSLProtocol all -SSLv2 -SSLv3 |
f227ae4f | 12 | SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA256:AES128-SHA:CAMELLIA128-SHA:AES256-GCM-SHA384:AES256-SHA256:AES256-SHA:CAMELLIA256-SHA |
69776cc4 | 13 | SSLHonorCipherOrder on |
90c973a6 MT |
14 | SSLCertificateFile /etc/httpd/server.crt |
15 | SSLCertificateKeyFile /etc/httpd/server.key | |
810a7ea2 | 16 | |
d733119b | 17 | <Directory /srv/web/ipfire/html> |
90c973a6 MT |
18 | Options ExecCGI |
19 | AllowOverride None | |
d41fe99f | 20 | Require all granted |
90c973a6 | 21 | </Directory> |
d733119b | 22 | <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)"> |
90c973a6 MT |
23 | AuthName "IPFire - Restricted" |
24 | AuthType Basic | |
25 | AuthUserFile /var/ipfire/auth/users | |
26 | Require user admin | |
27 | </DirectoryMatch> | |
d733119b MT |
28 | ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/ |
29 | <Directory /srv/web/ipfire/cgi-bin> | |
90c973a6 | 30 | AllowOverride None |
810a7ea2 | 31 | Options ExecCGI |
90c973a6 MT |
32 | AuthName "IPFire - Restricted" |
33 | AuthType Basic | |
34 | AuthUserFile /var/ipfire/auth/users | |
35 | Require user admin | |
d41fe99f WA |
36 | <Files chpasswd.cgi> |
37 | Require all granted | |
90c973a6 MT |
38 | </Files> |
39 | <Files webaccess.cgi> | |
d41fe99f | 40 | Require all granted |
90c973a6 | 41 | </Files> |
90c973a6 MT |
42 | </Directory> |
43 | <Files ~ "\.(cgi|shtml?)$"> | |
44 | SSLOptions +StdEnvVars | |
45 | </Files> | |
d733119b | 46 | <Directory /srv/web/ipfire/cgi-bin> |
90c973a6 MT |
47 | SSLOptions +StdEnvVars |
48 | </Directory> | |
49 | SetEnv HOME /home/nobody | |
50 | SetEnvIf User-Agent ".*MSIE.*" \ | |
51 | nokeepalive ssl-unclean-shutdown \ | |
52 | downgrade-1.0 force-response-1.0 | |
53 | CustomLog /var/log/httpd/ssl_request_log \ | |
54 | "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" | |
0bc58278 AF |
55 | |
56 | Alias /updatecache/ /var/updatecache/ | |
57 | <Directory /var/updatecache> | |
58 | Options ExecCGI | |
59 | AllowOverride None | |
d41fe99f | 60 | Require all granted |
0bc58278 | 61 | </Directory> |
7e620487 | 62 | |
a4c76879 | 63 | Alias /repository/ /var/urlrepo/ |
7e620487 CS |
64 | <Directory /var/urlrepo> |
65 | Options ExecCGI | |
66 | AllowOverride None | |
d41fe99f | 67 | Require all granted |
7e620487 | 68 | </Directory> |
f8716194 MT |
69 | |
70 | Alias /proxy-reports/ /var/log/sarg/ | |
71 | <Directory /var/log/sarg> | |
72 | AllowOverride None | |
73 | Options None | |
74 | AuthName "IPFire - Restricted" | |
75 | AuthType Basic | |
76 | AuthUserFile /var/ipfire/auth/users | |
77 | Require user admin | |
78 | </Directory> | |
90c973a6 | 79 | </VirtualHost> |