On Mar 31, 2008, at 12:04 PM, Kyle Waters wrote:
For this situation I want to suggest something on the client end instead of the server end. It's not perfect but will make it so you can have the same code on both servers. You could add an entry to the host file on the machines you use to test the development enviroment, or you could probably work something out with foxyproxy (ie set up a proxy server that has a modified hosts file) so it's easy to change back and forth.
For WordPress.com development I edit my hosts file. It's pretty painless, add one line and I can point a blog to my development server. When I need to test that blog on the live servers I just delete or comment out that line in the hosts file.
The only problem I've run into is that sometimes Firefox appears to cache DNS queries, so it occasionally requires a restart to pick hosts file changes.
-- Joseph Scott [EMAIL PROTECTED] http://joseph.randomnetworks.com/ _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
