Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.htaccess Mime-Types gemäß h5bp/server-configs-apache #525

Open
alxndr-w opened this issue Jan 2, 2023 · 0 comments
Open

.htaccess Mime-Types gemäß h5bp/server-configs-apache #525

alxndr-w opened this issue Jan 2, 2023 · 0 comments

Comments

@alxndr-w
Copy link
Contributor

alxndr-w commented Jan 2, 2023

<IfModule mod_mime.c>
AddType image/x-icon .ico
AddType image/svg+xml .svg
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
AddType video/x-flv .flv
AddType audio/mpeg .mp3
AddType audio/ogg .ogg
AddType text/javascript .js
AddType application/json .json
AddType application/xml .xml
AddType application/x-shockwave-flash .swf
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType font/font-woff .woff
AddType font/font-woff2 .woff2
AddType application/wasm .wasm
AddType font/opentype .otf
</IfModule>

Ich hatte gesehen, dass @tyrant88 an der ,htaccess dran war. Könnte man hier nicht swf rausschmeißen und sich an aktuellen Standards orientieren?

https://github.com/h5bp/server-configs-apache/blob/main/dist/.htaccess

https://github.com/h5bp/server-configs-apache/blob/14d8af4ac96a0918713f63e370f894b4305bb025/dist/.htaccess#L131-L209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant