DocumentRoot /srv/web/fedoraproject.org/

ErrorDocument 404 /404.html

FileETag MTime Size

AddType application/octet-stream .dmg
AddType image/svg+xml .svg
AddType image/svg+xml .svgz
AddEncoding gzip .svgz
<FilesMatch \.svgz$>
  <IfModule mod_gzip.c>
    mod_gzip_on No
  </IfModule>
</FilesMatch>

<FilesMatch \-webfont>
  SetEnvIfNoCase Origin "https?://.*\.fedora(project|people|hosted)\.org" ACAO=$0
  Header set Access-Control-Allow-Origin %{ACAO}e env=ACAO
</FilesMatch>

<Location /static/checksums/>
        Options Indexes
</Location>

# for osx Fedora Media Writer
AddType application/octet-stream .dmg

Alias /fmw /srv/web/fmw/

<Directory /srv/web/fmw>
    Require all granted
</Directory>
