How would you filter this?

Author Message
JNJ 11/18/2004 05:33 pm
As an example, let`s say I want to do the following:

Filter these:
http://www.whatever.com/apple/orange/file*.htm

NOT filter these:
http://www.whatever.com/apple/file*.htm

NOT filter these:
http://www.whatever.com/apple/orange/*
(except file*.htm)

I can`t seem to figure out how to do this. Can anyone help?
Oleg Chernavin 11/19/2004 05:43 am
I would simply place it to the Excluded keywords list of URL Filters | Filename:

http://www.whatever.com/apple/orange/file*.htm

This is enough. All other files will be allowed.

Best regards,
Oleg Chernavin
MP Staff
JNJ 11/19/2004 07:02 am
Filename filters cannot include the path of the file. If I just used file*.htm then it would filter the same files in the parent directory (not what I want).
Oleg Chernavin 11/19/2004 08:44 am
You can specify the following keyword in Filename filters. It will work well.

http://www.whatever.com/apple/orange/file*.htm

Oleg.
JNJ 11/19/2004 01:28 pm
You are right. I got it to work from your suggestion. Previously I didn`t think the filename filter allowed the PATH of files because I tried this:

/apple/orange/file*.htm

and it didn`t work. However including the ENTIRE path including http:// worked.

http://www.whatever.com/apple/orange/file*.htm

was this intended?
JNJ 11/19/2004 01:57 pm
Upon further scrutiny, I realized that what I am trying to accomplish still doesn`t work.

For URL Filters - Filename I have this:

http://www.whatever.com/*/*/file*.htm

Apparently this also filters the following by itself (not what I want):

http://www.whatever.com/*/file*.htm

Is this because the URL Filters don`t allow multiple wildcards?
Defenestration 11/19/2004 03:19 pm
I haven`t tried it but I would say this is a bug in OE if what you say is true. Multiple wildcards are allowed in URL filters. OE appears to ignore one component of the path in your example.

If it is a problem, Oleg will provide a speedy fix, as always:o)
Oleg Chernavin 11/22/2004 08:46 am
It should support multiple wildcards. Can you give me a particular example where it doesn`t work?

Oleg.