Kiril Angov wrote: > I kind of do not get the point. I understand that you can fake it but > how in the world would you point it to me development machine :) And the > production server should not respond to any domain.local so that it > cannot ever reach the index.php file to load the development > environment.
Sorry - I thought you were relying on split horizon DNS, and your productino and dev controllers were on the same machine, under the same vhost, but relying on the host header for 'security' on which controller to use. If your dev machine isn't reachable from the internet, then it's fine to rely on this (assuming your logic that relies on the host header never makes it to your live production site - or any server that would be reachable from the internet) However, if you're talking about an internal development machine, you're probably best just using an apache config (or you could do it in PHP if yo really wanted to...) to limit you by IP address, which can't easily be faked over a layer 3 network. -- Ian P. Christian ~ pookey.co.uk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" 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-devs?hl=en -~----------~----~----~----~------~----~------~--~---
