attempt to fix fedorapeople repos sending repodata as text/plain
This commit is contained in:
parent
53c3ca1269
commit
a052bdcaef
1 changed files with 10 additions and 0 deletions
|
@ -221,6 +221,16 @@ AddType video/webm .webm
|
|||
AddType text/plain .spec
|
||||
AddType application/vnd.android.package-archive .apk
|
||||
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
|
||||
#
|
||||
# Match xml.gz to application/x-gzip for repo files
|
||||
#
|
||||
<FilesMatch "xml\.gz$">
|
||||
ForceType application/x-gzip
|
||||
Header set Content-Encoding: gzip
|
||||
</FilesMatch>
|
||||
#
|
||||
# Everything else that ends in gz is just text/plain
|
||||
#
|
||||
<FilesMatch "\.gz$">
|
||||
ForceType text/plain
|
||||
Header set Content-Encoding: gzip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue