Hi,

I think that your problem is on one of the first lines of the  
frontend_dev.php file.
There should be a line that restrict access to localhost or to some  
IPs. Please check this line if you have it:

// this check prevents access to debug front conrollers that are  
deployed by accident to production servers.
// feel free to remove this, extend it or make something more  
sophisticated.
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.');
}

If you have it, do something with the if or remove it,  but REMEMBER  
that frontend_dev.php shouldn't be deployed to production.

Cheers,

Alvaro


On Oct 16, 2008, at 7:26 PM, Thomas Vestergaard wrote:

>
> Hi all,
>
> Got my project up and running on my dev-machine and figured it was
> time to share the progress with at couple of stakeholders.
> So I wanted to deploy the project to my own account on Servage. I
> followed the guidelines on [0], except that I just pointed the
> subdomain to the Symfony web directory.
> After having solved a few errors with caching, I am now stuck with a
> 500 Internal Server error.
> Now - that is not a hell of a lot of information to try and track down
> the problem! I tried to look in logs, but none have been created. I
> tried to access the development-frontend, but gets the cheeky message:
> "You are not allowed to access this file. Check frontend_dev.php for
> more information."
>
> As I am completely at loss to were to go from here, I would really
> appreciate any pointers to how I can figure out the source of this
> error.
>
> [0]: http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh
>
> Thanks,
> Thomas Vestergaard
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to