This just started on production. The file javascript file is there but gives a 500 error, with no other information.
500 Internal\u0020Server\u0020Error
running
bin/console assetic:dump --env=prod
shows the compiled file.
config part looks like this:
assetic:
debug: "%kernel.debug%"
use_controller: true
bundles: [appBundle]
filters:
uglifyjs2:
# the path to the uglifyjs executable
bin: /usr/bin/uglifyjs
uglifycss:
bin: /usr/bin/uglifycss
#cssrewrite:
# apply_to: "\.css$"
# java: /usr/bin/java
template reference -
<!-- include javascripts --->
{% javascripts '@appBundle/Resources/public/js/*' filter='uglifyjs2' %}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
htaccess file -
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^livemusic/web/app.php - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ livemusic/web/app.php [QSA,L]
RewriteRule ^\robots.txt [L]
</IfModule>