I was able to run your code without any problems. The first thing you should
check is to be sure that the account ColdFusion is running under (typically
'nobody', but not necessarily) has permissions to the directory structure
where the files are residing, and to the files themselves. When I ran my
test against files that were outside of my defined webroot, I got 0 results
from the query. I then changed the permissions on that directory and I was
then able to run the page and see the 4 pics_* pages I had created.

Also, you didn't mention what version of ColdFusion you're running. If it's
not SP2, I'd recommend trying that out.

The only other reason I could think of that might be a factor would be your
version of RedHat. RH 7.0 is not a supported platform for ColdFusion, only
RH 6.x. I doubt that's the problem, but if the steps above don't resolve the
problem, you might want to give your code a test on a RH 6.x machine if you
have one available.

Debbie


> -----Original Message-----
> From: Daniel Wm Brick III [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 21, 2001 2:43 PM
> To: CF-Talk
> Subject: RE: CFDIRECTORY on Redhat 7.0??
>
>
> Thanks, that had ocurred to me.  I've made sure everything is in
> lowercase.
> Anything that isn't would be after the pics_ prefix in the directory name,
> which I assume would match with the * wildcard... still, it doesn't work.
>
> dBIII+
>
> -----Original Message-----
> From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 21, 2001 11:39 AM
> To: CF-Talk
> Subject: Re: CFDIRECTORY on Redhat 7.0??
>
>
> Linux is case sensitive so /home/sites/mysite.com/ is not the same as
> /Home/Sites/Mysite.com/ and "pics" is not the same as "Pics".  So, I would
> make sure to match the case of what I'm searching for.
>
> HTH,
>
> Howie
>
> ----- Original Message -----
> From: "Daniel Wm Brick III" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Sunday, January 21, 2001 12:33 PM
> Subject: CFDIRECTORY on Redhat 7.0??
>
>
> > Help!  I've been using the CFDIRECTORY tag on an NT box to list
> directories
> > under my web site's home dir that start with "pics_".  I just recently
> moved
> > my entire site to a Linux box (running Redhat 7), and now the
> query always
> > returns empty.  I can match entire directory names or everything in the
> > directory by not using the filter, but nothing with wildcards.  For
> > instance, using "pics_general" as the filter will work, but
> "pics_*" (see
> > line below) will not.  Does anybody know why I can't use wildcards for
> > directory matching?
> >
> > <cfdirectory action="LIST" directory="/home/sites/mysite.com/"
> name="Dirs"
> > filter="pics_*">
> >
> > TIA,
> > dBIII+
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to