chore: cleanup htaccess
This commit is contained in:
1 parent
c7f43ad02c
commit
38962845d3
1 file changed
-9
@@ -285,9 +285,6 @@ AddDefaultCharset utf-8
|
|||||||
<FilesMatch "\.(eot|otf|tt[cf]|woff2?)$">
|
<FilesMatch "\.(eot|otf|tt[cf]|woff2?)$">
|
||||||
Header set Access-Control-Allow-Origin "*"
|
Header set Access-Control-Allow-Origin "*"
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
<FilesMatch "\.(png|gif|jpe?g)$">
|
|
||||||
Header append Vary Accept
|
|
||||||
</FilesMatch>
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
### End: Cross Origin ###
|
### End: Cross Origin ###
|
||||||
@@ -395,12 +392,6 @@ AddDefaultCharset utf-8
|
|||||||
# NOTE: Add your additional local storages here
|
# NOTE: Add your additional local storages here
|
||||||
RewriteRule ^(?:typo3/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]
|
RewriteRule ^(?:typo3/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]
|
||||||
|
|
||||||
RewriteCond %{HTTP_ACCEPT} image/webp
|
|
||||||
RewriteCond %{REQUEST_FILENAME} (.*)\.(png|gif|jpe?g)$
|
|
||||||
RewriteCond %{REQUEST_FILENAME}\.webp -f
|
|
||||||
RewriteRule ^ %{REQUEST_FILENAME}\.webp [L,T=image/webp]
|
|
||||||
|
|
||||||
|
|
||||||
### Begin: StaticFileCache (preparation) ####
|
### Begin: StaticFileCache (preparation) ####
|
||||||
|
|
||||||
# Document root configuration
|
# Document root configuration
|
||||||
|
|||||||
Reference in new issue
Block a user