Hi Ethan, Yes I want to block them all, it's not really necessary as people can check it out from SVN directly with no authentication anyway.
Thanks for the hint, that does exactly what I was looking for! regards Adrian On Wednesday, January 1, 2014 8:20:53 PM UTC+1, Ethan Jucovy wrote: > > > On Jan 1, 2014 8:21 AM, "Adrian Gschwend" > <[email protected]<javascript:>> > wrote: > > > > Dear group, > > > > I run a bunch of public TRAC repositories and for new year a crazy bot > ignoring my robots.txt started to get source on my repositories as Zip > archive, which is a really bad idea on my system. The archives are huge and > this is DoSing the server very fast. > > > > I blocked this via various Apache rules for most search engine bots but > now I want to disable it in general, if possible in TRAC itself and not in > Apache configuration. I googled around for quite a while now but I did not > find out if this is possible in trac.ini. Any hints on that? > > Do you need to disable downloads only for bots, or in general? If you want > to disable them in general, I think setting [browser] downloadable_paths to > an empty value will do what you want: > > http://trac.edgewall.org/wiki/TracIni > > -Ethan > > > thanks & happy new year! > > > > Adrian > > > > -- > > You received this message because you are subscribed to the Google > Groups "Trac Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To post to this group, send email to [email protected]<javascript:> > . > > Visit this group at http://groups.google.com/group/trac-users. > > For more options, visit https://groups.google.com/groups/opt_out. > On Wednesday, January 1, 2014 8:20:53 PM UTC+1, Ethan Jucovy wrote: > > > On Jan 1, 2014 8:21 AM, "Adrian Gschwend" > <[email protected]<javascript:>> > wrote: > > > > Dear group, > > > > I run a bunch of public TRAC repositories and for new year a crazy bot > ignoring my robots.txt started to get source on my repositories as Zip > archive, which is a really bad idea on my system. The archives are huge and > this is DoSing the server very fast. > > > > I blocked this via various Apache rules for most search engine bots but > now I want to disable it in general, if possible in TRAC itself and not in > Apache configuration. I googled around for quite a while now but I did not > find out if this is possible in trac.ini. Any hints on that? > > Do you need to disable downloads only for bots, or in general? If you want > to disable them in general, I think setting [browser] downloadable_paths to > an empty value will do what you want: > > http://trac.edgewall.org/wiki/TracIni > > -Ethan > > > thanks & happy new year! > > > > Adrian > > > > -- > > You received this message because you are subscribed to the Google > Groups "Trac Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To post to this group, send email to [email protected]<javascript:> > . > > Visit this group at http://groups.google.com/group/trac-users. > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
