%define apxs /usr/sbin/apxs Summary: Bandwidth & Request Throttling for Apache Summary(cs): Omezení sí»ového provozu pro Apache Summary(de): Ein Modul, das die Bandbreiten- und Anforderungseinschränkung für Apache implementiert Summary(es): Módulo que implementa la gestión de ancho de banda y peticiones para Apache Summary(fr): Module qui met en oeuvre la bande passante et l'étranglement requis pour Apache Summary(it): Modulo che implementa la larghezza di banda e la richiesta di throttling per Apache Summary(ja): Apache ÍÑÂÓ°èÉý¤ª¤è¤ÓÍ׵᥹¥í¥Ã¥È¥ë¤ò¼ÂÁõ¤¹¤ë¥â¥¸¥å¡¼¥ë Summary(pl): T³umienie przepustowo¶ci i zapytañ dla Apache'a Summary(pt_BR): Descompressão "On-the-fly" de arquivos HTML para o Apache Summary(sv): En modul som implementerar bandvidd- och begäranbegränsningar i Apache Name: apache-mod_throttle Version: 3.1.2 Release: 3 License: Anthony Howe Group: Networking/Daemons Source0: http://www.snert.com/Software/mod_throttle/mod_throttle312.tgz URL: http://www.snert.com/Software/mod_throttle/ BuildRequires: apache-devel BuildRequires: %{apxs} Prereq: %{_sbindir}/apxs Requires: apache >= 1.3.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _libexecdir %{_libdir}/apache %define _htmldocdir /home/httpd/manual/mod %description This Apache module is intended to reduce the load on your server & bandwidth generated by popular virtual hosts, directories, locations, or users according to supported polices (see below) that decide when to delay or refuse requests. Also mod_throttle can track and throttle incoming connections by IP address or by authenticated remote user. %description -l cs Balíèek mod_throttle obsahuje modul, který umo¾òuje omezit prùtok dat, která odcházejí z WWW serveru Apache. Limity mohou být nastaveny pro jednotlivé virtuální weby, adresáøe, umístìní nebo autentizované u¾ivatele. %description -l de Mod_throttle kann verwendet werden, um die Datenmenge zu beschränken, die Ihr Web-Server behandelt. Diese Einschränkungen können für einzelne virtuelle Rechner, Verzeichnisse, Speicherstellen oder authentifizierte Benutzer eingestellt werden. %description -l es Mod_throttle puede usarse para limitar la cantidad de datos que su servidor web va a servir. Estos límites se pueden configurar para hosts virtuales individuales, directorios, lug&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 else echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon." fi %preun if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n throttle %{_libexecdir}/mod_throttle.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %files %defattr(644,root,root,755) %doc *.gz %doc %{_htmldocdir}/index.html %attr(755,root,root) %{_libexecdir}/*