mogilefs with X-Reproxy-Url questions

marcel evenson marcelevenson at hotmail.com
Wed Jul 20 14:18:59 PDT 2005


Hello all,

I just finished setting up mogilefs and have everything working except the 
X-Reproxy-Url. Could someone please give some more information on how to set 
it up? (I'm using PHP and would like to not have to pump evverything through 
it). I'm a little confusd on how the whole process is supposed to work.

1. I tried just getting the file path and stuffing it in a php header ... 
but that doesn't work...

eg. Not Working test.php
header("Cache-Control: must-revalidate");
header("Content-Length: 14501");
header("Content-type: image/jpeg");
header("X-REPROXY-URL: http://10.0.0.4:7500/dev1/0/000/000/0000000003.fid");

eg.Working test.php
header("Cache-Control: must-revalidate");
header("Content-Length: 14501");
header("Content-type: image/jpeg");
$test = $mogile->getFileData('test.jpg');
echo $test;

Thanks!




More information about the mogilefs mailing list