[Xitami] hiding URL paths

ron at miplanet.net ron at miplanet.net
Sat Aug 27 16:08:40 CEST 2005


There are a couple of things you can do. If you have PHP and MySQL
installed then do it via php. You can download Coppermine or 4images and
which will do the trick. Also I know there are simple php scripts that
will do it for you and if you are interested I think I have one but I'll
have to dig it up. What I do for my Gallery sites is, I run Geeklog
www.geeklog.net and a 4images plugin. Geeklog also has it's own Gallery
plugin that works great. 

As far as doing it via Extami I'm not sure. I'm just giving you other
options.

Ron

-----Original Message-----
From: xitami-bounces at lists.xitami.org
[mailto:xitami-bounces at lists.xitami.org] On Behalf Of RPO
Sent: Friday, August 26, 2005 9:27 PM
To: Xitami Users General Discussion
Subject: Re: [Xitami] hiding URL paths


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
>


--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date:
8/25/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date:
8/26/2005
 



More information about the Xitami mailing list