Saturday, June 27, 2015

Symfony toolbar an error occurred while loading the web debug toolbar 403 forbidden

an error occurred while loading the web debug toolbar 403 forbidden

http://symfony.cent-dev.local/app_dev.php/_wdt/7eadee

[Sat Jun 27 22:06:03.426819 2015] [proxy_fcgi:error] [pid 42941:tid 140100818134784] [client 192.168.6.112:52086] AH01071: Got error 'Access to the script '/var/www/html/test_symfony/myproject/web/app_dev.php/_wdt/d13d9a' has been denied (see security.limit_extensions)\n', referer: http://symfony.cent-dev.local/app_dev.php

Solution:

# vim /etc/php.ini

cgi.fix_pathinfo = 1

or just comment it out to use the default.

; cgi.fix_pathinfo = 1

No comments: