Heiko Weber wrote:
>>> cgi-code I must use a taited variable. But how to find the line of code ?

> thanks for the hint. I added a -section in httpd.conf:
> use Carp;
> $SIG{__DIE__} = sub { confess shift };
> $SIG{__WARN__} = \&Carp::cluck;

> at /usr/local/etc/apache2/httpd.conf line 1061
> (unknown)('Insecure dependency in eval while running setgid at /usr/loca...')
> called at /usr/local/lib/perl5/site_perl/5.8.7/mach/ModPerl/RegistryCooker.pm
> line 676

sadly thats the eval $$eval (which is your source code)

what happens if you try the script from command line under -T and run it setgid.
That might give you a better stack trace as that takes ModPerl::* out of the mix.

Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."