I rewrote a good portion of the filter to use a regular expression to
grab the first valid IP from the header value. I also changed the
servlet filter initialization so that the defaults are correct for
most situations, but can be overridden if needed. It's in production
on one of my server
On 7 Jul 2006, at 07:38, Russ wrote:
> Your code looks great... much better then what I patched together a
> few
> months ago... Where did you get the documentation necessary? I was
> not able
> to find anything beyond some very basic example files on the
> macromedia
> site.
Thanks. I use
s for
most users, you'll probably need to tokenize the header and grab the last
ip.
Russ
> -Original Message-
> From: Joseph Lamoree [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 07, 2006 4:16 AM
> To: CF-Talk
> Subject: Re: Debugging per request
>
> I finishe
I finished putting the filter into production, and it's working
perfectly. I wrapped up my notes, the source, and the built jar in
case anyone wants to take a look:
http://www.teleologic.net/~jlamoree/teleologic-server.zip (80285
bytes)
http://www.teleologic.net/~jlamoree/teleologic-s
uly 05, 2006 7:10 PM
> To: CF-Talk
> Subject: RE: Debugging per request
>
> > I'm not so sure... I'm not exactly sure what an application
> > proxy is, but is it setting the proper headers with the
> > original client ip?
>
> Probably not, according to the o
> I'm not so sure... I'm not exactly sure what an application
> proxy is, but is it setting the proper headers with the
> original client ip?
Probably not, according to the original poster. This is common with proxies,
and can be a useful behavior.
Dave Watts, CTO, Fig Leaf Software
http://www.
t; Subject: RE: Debugging per request
>
> > I have a CFMX server behind an application proxy that I need
> > to get debugging information on. I can't add "my" IP to the
> > list of IPs that see debugging information, since that is the
> > same IP that all req
ilto:[EMAIL PROTECTED]
> Sent: Wednesday, July 05, 2006 5:50 PM
> To: CF-Talk
> Subject: Re: Debugging per request
>
> You could add this code to every application.cfm file on the machine.
>
>
>
>
>
>
> and then on the applicaiton in question, you could
Subject: Re: Debugging per request
You could add this code to every application.cfm file on the machine.
and then on the applicaiton in question, you could go in and change the
cfset line to = true based on a login or a url variable or whatever you
like. It should be a simple matter to add
You could add this code to every application.cfm file on the machine.
and then on the applicaiton in question, you could go in and change the
cfset line to = true based on a login or a url variable or whatever you
like. It should be a simple matter to add that little snippet of code to
U could turn on debugging fo rthe local machine and log into the server and
browse it from there and thus see the debug output.
-Original Message-
From: Joseph Lamoree [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 21:41
To: CF-Talk
Subject: Re: Debugging per request
On 5 Jul 2006, at
Can't you roll your own debugging display for the templates in
question that you want to debug, using cfdumps to pluck out the scopes
of your choice?
Throw it into OnRequestEnd.cfm and use some sort of var (server
scope?) to decide if it gets displayed?
Granted that won't get you query exec times
> I have a CFMX server behind an application proxy that I need
> to get debugging information on. I can't add "my" IP to the
> list of IPs that see debugging information, since that is the
> same IP that all requests appear to originate from.
>
> I was hoping that there was some way I could use
ROTECTED]
> Sent: Wednesday, July 05, 2006 4:41 PM
> To: CF-Talk
> Subject: Re: Debugging per request
>
> On 5 Jul 2006, at 13:12, Russ wrote:
>
> > Try something like this:
> >
> >
> >
> >
>
> The cfsetting tag provides a way to suppress debu
On 5 Jul 2006, at 13:12, Russ wrote:
> Try something like this:
>
>
>
>
The cfsetting tag provides a way to suppress debugging information if
it would otherwise have been displayed, however (at least in the
testing I've done with CFMX 7.1) it does not enable the display of
debug in
Joseph,
Try something like this:
Russ
> -Original Message-
> From: Joseph Lamoree [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 05, 2006 4:01 PM
> To: CF-Talk
> Subject: Debugging per request
>
> I have a CFMX server behind an application pro
I have a CFMX server behind an application proxy that I need to get
debugging information on. I can't add "my" IP to the list of IPs that
see debugging information, since that is the same IP that all
requests appear to originate from.
I was hoping that there was some way I could use the Debu
17 matches
Mail list logo