Re: [E-devel] http://git.enlightenment.org down for now

2017-04-27 Thread The Rasterman
On Thu, 27 Apr 2017 08:07:02 +0200 Jonathan Aquilina said: > Hi Carsten, > > What advantage does http for git have? Isn't git better to use to pull > and push stuff to the repositories or is cgit more a web based ui to > view the repository history etc? it's an

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-27 Thread Simon Lees
On 04/27/2017 03:37 PM, Jonathan Aquilina wrote: > Hi Carsten, > > What advantage does http for git have? Isn't git better to use to pull > and push stuff to the repositories or is cgit more a web based ui to > view the repository history etc? > If you go to http://git.enlightenment.org you

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-27 Thread Jérémy Zurcher
Hello everything about git protocols is here : https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols cgit is 'only' a web presentation of git repos. On Thursday 27 April 2017 08:07, Jonathan Aquilina wrote : > Hi Carsten, > > What advantage does http for git have? Isn't git better

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-27 Thread Jonathan Aquilina
Hi Carsten, What advantage does http for git have? Isn't git better to use to pull and push stuff to the repositories or is cgit more a web based ui to view the repository history etc? --- Regards, Jonathan Aquilina On 2017-04-26 04:18, Carsten Haitzler wrote: > I've had to disable the

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-26 Thread The Rasterman
On Tue, 25 Apr 2017 22:58:14 -0700 Bertrand Jacquin said: sounds good. one day they'll find the robots.txt ... i hope. but not today. this will indeed be good for now. turning git.e.org off entirely was an emergency solution until i either could see these time out (they

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-26 Thread The Rasterman
On Tue, 25 Apr 2017 22:40:21 -0700 Bertrand Jacquin said: > Hey, > > Taking a look oh that was you editing .htaccss at the same time... :) i got a "file changed on disk" ... :) > Cheers > > On 25/04/2017 19:51, Dave wrote: > > Try the following apache config in your

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-25 Thread Bertrand Jacquin
Good spot raster. I've blocked the following User-Agent on the frontend load balancer, so no other VM/website can be reached by those bits suckers. acl u-robots-bad hdr(User-Agent) -i Ahrefsbot acl u-robots-bad hdr(User-Agent) -i Baiduspider acl u-robots-bad hdr(User-Agent) -i Cliqzbot

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-25 Thread The Rasterman
On Wed, 26 Apr 2017 12:51:21 +1000 Dave said: well i needed a drastic solution asap because the server was at a load of 20-30 and lots of stuff was falling over. i have no done this... before i read this mail :) but thanks for the pointer. :) > Try the following apache config

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-25 Thread Bertrand Jacquin
Hey, Taking a look Cheers On 25/04/2017 19:51, Dave wrote: > Try the following apache config in your directory directive, or > .htaccess > file: > > BrowserMatchNoCase Baiduspider botblock > BrowserMatchNoCase Semrushbot botblock > BrowserMatchNoCase Ahrefsbot botblock > Order Deny,Allow >

Re: [E-devel] http://git.enlightenment.org down for now

2017-04-25 Thread Dave
Try the following apache config in your directory directive, or .htaccess file: BrowserMatchNoCase Baiduspider botblock BrowserMatchNoCase Semrushbot botblock BrowserMatchNoCase Ahrefsbot botblock Order Deny,Allow Deny from env=botblock Should block those specific bots, while allowing others

[E-devel] http://git.enlightenment.org down for now

2017-04-25 Thread The Rasterman
I've had to disable the whole http support for now for git.enlightenment.org because several bots are crawling it causing our VM to basically be loaded with 10-20 cgit cgi's running git queries for history etc. continually. I/O and system load is going through the roof as a result and causing