httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Buffington <...@mlug.missouri.edu>
Subject TEMP_DIR directive
Date Tue, 24 Jun 2003 16:03:27 GMT
Hi,

If I hardcode in a directory for TEMP_DIR like this everything works 
fine:
my $apr = Apache::Request->instance($r, HOOK_DATA=>$key,
                                                                         
     UPLOAD_HOOK=>$upload_hook,
                                                                         
     TEMP_DIR=>"/usr/local/shoebox/images/tmp/");


But if I use dir_config like this:
$r->log_error("setting tempdir to " . $r->dir_config('tempdir'));
my $apr = Apache::Request->instance($r, HOOK_DATA=>$key,
                                                                         
     UPLOAD_HOOK=>$upload_hook,
                                                                         
     TEMP_DIR=>$r->dir_config('tempdir'));

I get this in my error log:
[Tue Jun 24 10:55:23 2003] [error] setting tempdir to 
/usr/local/shoebox/images/tmp/
[Tue Jun 24 10:55:23 2003] [error] [client 192.168.0.100] [libapreq] 
could not create/open temp file


What gives?!

Thanks,
Jay Buffington


Mime
View raw message