mogilefs with X-Reproxy-Url questions

Mark Smith junior at danga.com
Wed Jul 20 14:21:33 PDT 2005


X-REPROXY-* is a Perlbal header.  Are you using Perlbal in addition to
MogileFS?

On Wed, Jul 20, 2005, marcel evenson wrote:
> 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!

--
Junior (aka Mark Smith)
junior at danga.com

Software Engineer
Six Apart / Danga Interactive


More information about the mogilefs mailing list