In my project I'm using PHP Symfony. My problem is that I want to connect to my IP address in stead of localhost. But I receive this error:
You don't have permission to access /Symfony 1.1/web/app_dev.php/municipalite on this server.
Check your web/app_dev.php
which contains checking of your IP and denying access when you're accessing from ip other than localhost.
You will have to add your IP to list of permitted IPs and it should work fine then. I'm not sure about symfony 1.1 but in symfony 1.4 this part of file looks like that:
if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
{
die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
}
so add your ip to array('127.0.0.1', '::1')
array