Month: December 2018
-
[Solution] Symfony 3 easy translation
For twig base.html.twig : <p{{ ‘message’|trans }}</p> Create or update your files translation : # tempate from app/Resources php bin/console translation:update –dump-messages…
-
[Solution] Add Expires headers on Ubuntu
How to add expire header on Ubuntu with Apache2 : Edit your httpd.conf The module ‘mod_expires’ must be activated Add the new…
-
[Solution] Invalid command ‘RewriteCond’, perhaps misspelled or defined by a module
Check to make sure you have mod_rewrite enabled. Under Apache 2+ sudo a2enmod rewrite && sudo service apache2 restart or sudo a2enmod rewrite…