On Thu, Nov 11, 2010 at 6:35 PM, Aaron Burt <[email protected]> wrote:

> On Thu, Nov 11, 2010 at 06:11:29PM -0700, Mark Phillips wrote:
> > I have a web server at webIP off site. I have a second server for photos
> > running a php photo gallery app behind apache at photoIP on my local LAN.
> I
> > have a page on the web server that uses iframes to the photo server's
> > images.
> >
> > I am trying to restrice access to the photo server to requests from the
> web
> > server using apache Allowoverride on the photo server.
>
> You're embedding the photos in the pages on WebIP?


No. The photos are served by a php program called gallery within a iframe on
the web server.

It might be easier to ignore the web server in my problem and just think of
the problem as apache configuration for a php app.


> Then the photos are
> being accessed from the client's browser, not WebIP.  In that case, you'll
> want to limit access by referrer.  (Note: Apache spells it "referer", with
> one r.)  People will still be able to grab your pictures, of course, but
> they won't be able to embed them from your server into their own pages.
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to