From 3d00c9a3291867f89b17633be4a1dda8b42a2ad3 Mon Sep 17 00:00:00 2001 From: waldermort Date: Wed, 7 Jan 2015 00:45:35 +0800 Subject: [PATCH] Implement EZP-23873: Allow fonts to be pulled The config file doesn't allow for font file (bootstrap, fontawesome etc) URLs to be served. --- doc/apache2/vhost.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/apache2/vhost.template b/doc/apache2/vhost.template index 5010e175..a40d9a78 100644 --- a/doc/apache2/vhost.template +++ b/doc/apache2/vhost.template @@ -128,7 +128,7 @@ # Additional Assetic rules for environments different from dev, # remember to run php ezpublish/console assetic:dump --env=prod RewriteCond %{ENV:ENVIRONMENT} !("dev") - RewriteRule ^/(css|js)/.*\.(css|js) - [L] + RewriteRule ^/(css|js|font)/.*\.(css|js|otf|eot|ttf|svg|woff) - [L] # Conditions for enabling webdav and soap interfaces from legacy ## Symlink files into your web folder and correct domain names to be valid server aliases