[Xitami] hiding URL paths
RPO
rolinger1 at hotmail.com
Sat Aug 27 03:27:20 CEST 2005
Yeah, I get that:
Virtual Real
/foo/ C:\blahdir\
/foo/ C:\xitami\blahdir\
/foo/ D:\something\blahdir
But what I am looking for is a way to put photos in a directory that are
unaccessable from a direct URL path. I am trying to prevent users who are
not logged in from getting to photos they don't have access to see. If I
move them to an aliased directory, then users can simply type in the alias
path and still get to them. If I move them non-aliased path or a non
webroot path, then the only way I know to serve the photos is to have Perl
serve up raw image data. But that can take up alot of server CPU. If the
files are in a non-aliases or non webroot path, then a simple <img
src=/photos/foo.jpg> won't work, the /photos/foo.jpg must be in a valid HTTP
path for the image tag to work.
----- Original Message -----
From: "Magnus Wedberg" <mw at 9000.org>
To: "Xitami Users General Discussion" <xitami at lists.xitami.org>
Sent: Friday, August 26, 2005 4:52 PM
Subject: Re: [Xitami] hiding URL paths
> > But I supposed the web surferer could still type in
> > http://www.blah.com/photos/user1/album1/foo.jpg and stil get to the
> > photo.
>
> you don't /have/ to set the alias path to a subdir of the root path.
> i.e., having root at c:\web\ and the alias /photo/ at f:\photo\ is
> perfectly valid.
>
>
>
> --
> Magnus Wedberg
> http://www.magnuswedberg.com/
> mw AT 9000.org
> Warning! Objects in viewfinder may be closer than they appear.
>
>
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
More information about the Xitami
mailing list