DocumentRoot /srv/web/ipfire/html RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS) RewriteRule .* - [F] Options ExecCGI AllowOverride None Require all granted Options SymLinksIfOwnerMatch RewriteEngine on RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L] ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/ Options SymLinksIfOwnerMatch RewriteEngine on RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L] Alias /updatecache/ /var/updatecache/ Options ExecCGI AllowOverride None Require all granted Alias /repository/ /var/urlrepo/ Options ExecCGI AllowOverride None Require all granted Alias /wpad.dat /srv/web/ipfire/html/proxy.pac