mogilefs with X-Reproxy-Url questions

marcel evenson marcelevenson at hotmail.com
Wed Jul 20 14:34:42 PDT 2005


Yes I have Perlbal installed and running on all its default ports

That's where I'm a bit confused .. does the url request have
to point to the web service on the proxy .. or the mogilefs storage
tracker?

Also the php file grabbing all the key path info etc .. does
that have to
run on perlbal or my regular server?

Thanks for the help, I'm a newbie and have been muddling my
way through..

Thanks

>From: Mark Smith <junior at danga.com>
>To: marcel evenson <marcelevenson at hotmail.com>
>CC: mogilefs at lists.danga.com
>Subject: Re: mogilefs with X-Reproxy-Url questions
>Date: Wed, 20 Jul 2005 14:21:33 -0700
>
>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