lol... don't worry about it. I think we all have moments like that. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411
On Mon, Feb 10, 2014 at 8:15 AM, Phillip Vector <vec...@mostdeadlygame.com>wrote: > > I can't believe I was that stupid... > > So I installed IIS (getting frustrated with Apache). I FINALLY get that > working and same issue.. WTF... > > So I check out other small CFM files and finally get to my index.cfm of the > site (fusebox based). Great. Fusebox is failing on me... > > I peek in and what do I find.. > > <cfif cgi.REMOTE_ADDR is '127.0.0.1'> > <cfset FUSEBOX_PARAMETERS.mode = "Development-full-load" /> > <cfelse> > <cfset FUSEBOX_PARAMETERS.mode = "Production" /> > </cfif> > > It breaks there.. > > .... > > OOOOHHHH..... Yeah. I'm not hitting it from 127 anymore... > > So I change it to this.. > > <cfif cgi.REMOTE_ADDR is '127.0.0.1' or cgi.REMOTE_ADDR contains > '192.168.1'> > > Kabam.. Works. > > I feel so stupid right now. > > To my defense though, I've coming off an all nighter of coding.. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357643 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm