[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] [if file] question


On 8/5/07, Mike Heins <suppressed> wrote:
> Quoting Dan Bergan (suppressed):
> > I'm having trouble with the [if file] tag.
> >
> > I have created a symbolic link in my catroot to a directory.  I have
> > given the interchange user permission to the directory.  I can log in
> > to the command prompt as the interchange user and see the directory
> > and I can read the files.
> >
> > when I try:
> >
> > [if type=file term=|files/test.txt|]found![/if]
> >
> > it doesn't not see the file.
> >
> > I have also tried the full path to the file, and still nothing.  I'm
> > sure I'm doing something stupid, but I just can't see what I'm doing
> > wrong.  Can anyone point out what my problem might be?
> >
>
> Paths are relative to the catalog directory, not interchange
> or home directory.
>
I believe that is what I did...

My catalog directory is:
/var/lib/interchange/catalog

The actual directory is in my httpdocs directory, called "files".  So,
I created a symbolic link to the "files" directory.  So, now there is
a sub-directory:
/var/lib/interchange/catalog/files
And then I tried: [if type=file term=|files/test.txt|]found![/if]

Can the [if file] follow a symbolic link?

Dan
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.