ispCP - Board - Support
how about a message when a site is disabled? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: how about a message when a site is disabled? (/thread-2476.html)



how about a message when a site is disabled? - psygarden - 02-18-2008 03:45 AM

I had to disable a site that exceeded it's bandwidth by 300% manually.

Is there a way to have these sites disabled automatically, and ofcourse, to have a nice friendly error message appear instead of a 404 error ?

greetings,
Rik


RE: how about a message when a site is disabled? - gOOvER - 02-18-2008 04:25 AM

Why you don't use mod_cband to limit the Bandwidth????


RE: how about a message when a site is disabled? - joximu - 02-18-2008 04:26 AM

Have a look at the examples of mod_cband
/usr/share/doc/libapache2-mod-cband/examples/

eg:
CBandUserExceededURL http://myserver.com/exeeded.html


RE: how about a message when a site is disabled? - psygarden - 02-18-2008 06:47 AM

I set a bandwidth limit in the admin panel, but it seems to be just an indication, nothing really happens when someone crosses it ?

I assume to need to configure this manually?


RE: how about a message when a site is disabled? - joximu - 02-18-2008 07:23 AM

Did you enable the module cband?

a2enmod cband

and apache reload...

/J

PS: for me it works well...


RE: how about a message when a site is disabled? - gOOvER - 02-18-2008 01:12 PM

There is no Option in the Panel. You have to set it up by hand Smile


RE: how about a message when a site is disabled? - BeNe - 02-18-2008 04:57 PM

There is also something in the old wiki --> http://www.isp-control.net/ispcp/wiki/howto_mod_cband

Greez BeNe