Skip to content

Commit

Permalink
Implement EZP-23873: Allow fonts to be pulled
Browse files Browse the repository at this point in the history
The config file doesn't allow for font file (bootstrap, fontawesome etc) URLs to be served.
  • Loading branch information
waldermort authored and wistly committed Jan 11, 2015
1 parent 9c6b91e commit 3d00c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/apache2/vhost.template
Expand Up @@ -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
Expand Down

0 comments on commit 3d00c9a

Please sign in to comment.