【发布时间】:2016-07-01 05:57:53
【问题描述】:
在全新安装 Symfony 3 时,调试工具栏没有显示,当我有 apache 2.4.7 配置文件时:
<VirtualHost *:80>
ServerAdmin info@enterprise.cl
ServerName dev.enterprise.cl
#ServerAlias www.domain.tld
DocumentRoot /var/www/html/gestion/web
DirectoryIndex app_dev.php
# uncomment the following lines if you install assets as symlinks
# or run into problems when compiling LESS/Sass/CoffeScript assets
# <Directory /var/www/html/gestion>
# Options FollowSymlinks
# </Directory>
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
</VirtualHost>
如果我将配置文件更改为:
<VirtualHost *:80>
ServerAdmin info@enterprise.cl
ServerName dev.enterprise.cl
# ServerAlias www.domain.tld
DocumentRoot /var/www/html/gestion/web
# DirectoryIndex app_dev.php
# uncomment the following lines if you install assets as symlinks
# or run into problems when compiling LESS/Sass/CoffeScript assets
# <Directory /var/www/html/gestion>
# Options FollowSymlinks
# </Directory>
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
</VirtualHost>
并访问:http://dev.enterprise.cl/app_dev.php,一切正常。
怎么了?
【问题讨论】:
标签: debugging toolbar symfony apache2.4