> I have a client who recently installed a MS ISA server for
> firewall purposes. This seems to change how IIS recognizes
> requests from IP addresses - now all requests are reported
> in the web server logs as 192.168.0.1. Likewise, cgi.remote_host
> now reports this IP regardless of where on the Internet a
> request comes from.
>
> Is there any way now to be able to specify debugging output be
> presented without having every visitor see this output? In CF
> Administrator it looks like the only way to direct debug output
> is by specifying IP addresses - in this case, only 192.168.0.1
> will cause debug info to show in which case everyone sees it.

I can think of a couple of possible solutions. One would be to simply enable
debugging for that address in the CF Administrator, then use code to control
the display of debugging output. For example, you could have something like
this in your Application.cfm file for a site on the server:

<cfsetting showdebugoutput="false">

<cfif ShowMeDebugOutput>
<cfsetting showdebugoutput="true">
</cfif>

You could control this by tying it to a login, or to a URL parameter, or
something along those lines.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to