symfony - Symfony2 on ubuntu virtual host debug toolbar not found -


I've just installed LAMP on Ubuntu 14.04 LTS and created virtual host the Symphony project. I Symfony did not change anything in the project yet, but the first as soon as I load AcmeDemoBundle I error try to get web debug toolbar (not found in 404) An error occurred while loading. Do you want to open proffer?

I did some research, but what I found was something to do with the .htaccess file that was not working. I content of the suspicion that it might have / etc / apache2 / sites-enabled / virtual host conf file that file:

  & lt; VirtualHost *: 80 & gt; ServerAdmin admin @ localhost server name registration.dev server www.registration.dev DocumentRoot / var / www / registration / web / DirectoryIndex app_dev.php Errorlog $ {APACHE_LOG_DIR} /error.log CustomLog $ {APACHE_LOG_DIR} combined & lt / Access.log; / VirtualHost & gt;  

I had the same problem here on your / etc / apache2 / sites -enabled /

  & lt; VirtualHost *: 80 & gt; There is a working file for Server name test.dev DocumentRoot / var / www / html / test_symfony / Web / DirectoryIndex app_dev.php & lt; Directory "/ var / www / html / test_symfony / web /" & gt; Follow Option Index SymLinks Allow Multivisual Override All All Required Orders Allow, Allow To Deny All & amp; Lt; IfModule mod_rewrite.c & gt; ! RewriteCond% {REQUEST_FILENAME} RewriteEngine on -f RewriteRule ^ $ /app_dev.php [QSA, L] of & lt (*.); / IfModule & gt; & Lt; / Directory & gt;  

The following URL: http://test.dev/home will send you the debug without the toolbar to the home page. Make sure that you toolbar app_dev.php have specified http://test.dev/app_dev.php/home hope

Helps in

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -