On Fri, 12 Jan 2001, J. J. Horner wrote:
> Is something available to allow debugging information to be sent
> to a browser based on the UID of the user or IP address of the
> client?
This sounds like a hack job for Carp.. I assume you mean uid of the
cgi-wrapped user?
> I'm also toying with the idea of allowing each script to have a DEBUG=1
> option enabled in a handler so that as long as it is the script owner,
> verified by uid, trying to set the DEBUG=1 parameter in a URL, the full
> debug information is sent to a browser
Erm.. I'm not sure how you're going to verify the uid of a remote user,
unless you mean mapping an IP to each cgi-wrapped UID.
Either way, you've got a lot of moving targets. I might hijack the custom
error page handler in Apache and send a default error page unless the
remote user is somehow authenticated.. But I don't think remote uid or IP
are gonna be reliable.
--
Blue Lang, Unix Voodoo Priest http://www.gator.net/~blue
202 Ashe Ave, Apt 3, Raleigh, NC. 919 835 1540
"Hey angel, fly over and bless me.." - Jawbox, Savory