Martin Ibert typed this originally:
> Vladimir Litovka wrote:
> >
> > Hi!
> >
> > On Wed, 16 Oct 1996, Adrian Havill wrote:
> >
> > > > And how I can set *.jp*, for example (thinking about *.jpg, *.jpeg and
> > > > *.jp_)?
> > >
> > > Would a ttl pattern line "*.jp*" stop the ".jp" (Japan) domain as well?
> >
> > Nice question :-) But you may use *.jp..$ to point that this match must
> > be at end of the sting. How often you mean all of country? :-)
>
> \.jp..$ won't cut it because it only catches jpeg files, not jpg files.
> And \.jp.$ is dangerous because it matches http://some.domain.jp/
> (or am I overlooking something?)!
>
> So when you need two patterns anyway, why not use \.jpg$ and \.jpeg$
> ?
I have now modified my access classes like this,
to cover most of the images/image formats, and bins gotten with http protocol.
ttl_pattern ^http:// 1440 20% 43200
ttl_pattern ^ftp:// 10080 50% 43200
ttl_pattern/i \.(gif|jpg|jpeg|xbm|png)$ 5760 50% 43200
ttl_pattern/i \.(zip|lha|arc|arj|rar|tgz|gz|tar|exe|pdf)$ 10080 50% 43200
ttl_pattern/i \.(shmtl|phtml)$ 0 0% 0
ttl_pattern/i cgi 0 0% 43200
Flo
-- Florian Lohoff mailto:flo@mini.gt.owl.de Phone:+49-5241-340796 Privates Internet Ostwestfalen-Lippe, Guetersloh - http://www.gt.owl.deReceived on Wed Oct 16 1996 - 00:58:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:17 MST