Re: Insecure dependency in unlink while running with -T switch

2007-07-08 Thread stevethames
Clint, you are a steely-eyed, missle man! In fact, I had taken the statement '$fp =~ /(.+)/' directly from another page as a posted solution to this problem without even looking at it. After your email, I felt like an idiot as it was obvious that all this statement would do was set $& and $1.

Insecure dependency in unlink while running with -T switch

2007-07-08 Thread stevethames
mod_perl 2.0.1 Fedore Core 4 Apache Taint Mode I am trying to delete a file using an absolute path from a mod_perl script running in taint mode under apache. This error is where I stopped trying to fix the problem and decided to use a cron job to delete files no longer connected to active data i

Re: Retrieve server environment vars before response handler.

2006-09-20 Thread stevethames
feature. Also, I get an error if I put PerlPassEnv inside the tags. Practical Mod_Perl says I can do this but the server won't start in this case. Fred Moyer wrote: > > On Wed, 20 Sep 2006, stevethames wrote: >> I tried PerlPassEnv and found no change. In fact, I ca

Re: Retrieve server environment vars before response handler.

2006-09-20 Thread stevethames
tion handler. Any other ideas? Fred Moyer wrote: > > stevethames wrote: >> Can anyone tell me how to retrieve the environment variables set by the >> Apache server in the PerlAuthenHandler or the PerlHeaderParserHandler? >> Basically any handler that is called before t

Retrieve server environment vars before response handler.

2006-09-20 Thread stevethames
Can anyone tell me how to retrieve the environment variables set by the Apache server in the PerlAuthenHandler or the PerlHeaderParserHandler? Basically any handler that is called before the PerlResponseHandler. I am using virtual hosts and want to set a variable for each one. This variable is