On Tue, May 20, 2008 at 01:52:30PM +0100, Bob Walker wrote:
On Tue, 20 May 2008, Kake L Pugh wrote:
Noting also that File::Temp respects the TMPDIR environment variable, he tried another reindex using a specific tmp directory, and this worked. He's also done something which might make the CGIs use this tmp directory as well but he's not sure it worked.
You can set environemnt variables with SetEnv in apache which the cgi can access if its magically doing so is another matter. Which is why i think it may not be working.
Note that the referenced FAQ mentions the
$SIG{INT} = &catch_int; sub catch_int { die; }
A nicer fix is this:
use sigtrap die => 'normal-signals';
A thought experiment makes me think that this will be a perfectly fine thing to put into the CGI script (and certainly reindex.pl) so if noone objects, I will aim to do this.
Dominic.