Quoting Dan Bergan (suppressed): > On 8/6/07, Mike Heins <suppressed> wrote: > [snip] > > > > > > 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? > > > > Yes it can, presuming your file system permissions permit that. It > > is just a perl file test. > > > > Try from the shell: > > > > $ touch /var/lib/interchange/catalog/test.txt > > > > As the interchange user: > $touch /var/lib/interchange/catalog/files/test.txt > > this seemed to work -- returned nothing. > > > Then in the page: > > > > [if file test.txt]found! [else] NOT FOUND [/else] [/if] > > [if type=file term=|files/test.txt|]found! [else] NOT FOUND [/else] [/if] I just realized you decided to make up your own test syntax -- I told you what to put. If what I put works, and what you did didn't, then it is in the permissions of your file system. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 tollfree 800-949-1889 <suppressed> Life may not be quite the party we hoped for, but while we are here we might as well dance. -- Anonymous _______________________________________________ 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.