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



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

i installed lamp on ubuntu 14.04 lts , created virtual host symfony project. didn't alter in symfony project yet seek load acmedemobundle error an error occured while loading web debug toolbar (404: not found). want open profiler?

i did research found .htaccess file didn't work. have suspicions might virtual host conf file in /etc/apache2/sites-enabled/ content of file is:

<virtualhost *:80> serveradmin admin@localhost servername registration.dev serveralias www.registration.dev documentroot /var/www/registration/web/ directoryindex app_dev.php errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined </virtualhost>

i had same issue. here working file /etc/apache2/sites-enabled/

<virtualhost *:80> servername test.dev documentroot /var/www/html/test_symfony/web/ directoryindex app_dev.php <directory "/var/www/html/test_symfony/web/"> options indexes followsymlinks multiviews allowoverride require granted order allow,deny allow <ifmodule mod_rewrite.c> rewriteengine on rewritecond %{request_filename} !-f rewriterule ^(.*)$ /app_dev.php [qsa,l] </ifmodule> </directory>

the next url: http://test.dev/home direct home page without debug toolbar. create sure got tool bar specify app_dev.php : http://test.dev/app_dev.php/home hope helps

symfony2 apache2 virtualhost ubuntu-14.04

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -