chimera-mark2-core-release/static/.htaccess

16 lines
721 B
ApacheConf

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [S=6]
RewriteRule "^theme/([^/]+)/main.css" "/modules/$1/theme/main.css" [L]
RewriteRule "^theme/([^/]+)/img/([0-9a-zA-Z\.\-\_]*)" "/modules/$1/theme/img/$2" [L]
RewriteRule "^theme/([^/]+)/font/([0-9a-zA-Z\.\-\_]*)" "/modules/$1/theme/font/$2" [L]
RewriteRule "^theme/([^/]+)/css/([0-9a-zA-Z\.\-\_]*\.css)" "/modules/$1/theme/css/$2" [L]
RewriteRule "^js/([^/]+)/([0-9a-zA-Z\.\-\_]*\.js)" "/modules/$1/js/$2" [L]
RewriteRule "^js/([^/]+)/([0-9a-zA-Z\.\-\_]*\.mjs\.map)" "/modules/$1/js/$2" [L]
RewriteRule "^js/([^/]+)/([0-9a-zA-Z\.\-\_]*\.mjs)" "/modules/$1/js/$2" [L]
RewriteRule "^css/([^/]+)/([0-9a-zA-Z\.\-\_]*\.css)" "/modules/$1/css/$2" [L]