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:357642
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to