In my directory /scripts/cache/ i have an htacess :
# BEGIN BWP Minify Rules
# BEGIN BWP Minify Headers
<Files "*.js.gz">
ForceType application/x-javascript
</Files>
<Files "*.css.gz">
ForceType text/css
</Files>
<IfModule mod_mime.c>
AddEncoding gzip .gz
AddCharset utf-8 .js .css
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
SetEnvIfNoCase Request_URI "\.gz$" no-gzip
</IfModule>
</IfModule>
<IfModule mod_headers.c>
Header set Cache-Control "public, max-age=2592000"
Header set Vary "Accept-Encoding"
Header unset ETag
</IfModule>
# END BWP Minify Headers
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=ZIP_EXT:.gz]
RewriteCond %{HTTP:Cache-Control} !no-cache
RewriteCond %{HTTP:If-Modified-Since} !no-cache
RewriteCond %{REQUEST_FILENAME}%{ENV:ZIP_EXT} -f
RewriteRule (.*) $1%{ENV:ZIP_EXT} [L]
RewriteRule ^minify-b(\d+)-([a-zA-Z0-9-_.]+)\.(css|js)$ /index.php?blog=$1&min_group=$2&min_type=$3 [L]
</IfModule>
# END BWP Minify Rules
it’s a sub directory but it’s the same bug if it’s not a sub directory, it’s not multisite.
the path is auto detected because i have change the min folder path and the caches folder path and there in the same folder :
/scripts/cache/
/scripts/min/
https://articles.preuves-par-images.fr/