{"id":457,"date":"2011-03-11T05:25:25","date_gmt":"2011-03-11T11:25:25","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=457"},"modified":"2026-03-24T23:50:57","modified_gmt":"2026-03-25T05:50:57","slug":"limit-apache-bandwidth-using-mod-bw-module","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/","title":{"rendered":"How to restrict number of connections per vhost\/dir and limit the bandwidth for files"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Managing server resources efficiently is essential for maintaining performance and stability. If a particular domain or directory is consuming excessive bandwidth, you can control its usage using the <strong>mod_bw<\/strong> module in Apache.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>mod_bw (bandwidth module)<\/strong> allows administrators to restrict bandwidth usage and limit the number of simultaneous connections for specific virtual hosts (vhosts) or directories. This is especially useful in shared hosting environments where resource control is critical.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>When to Use mod_bw<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can use <strong>mod_bw<\/strong> when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A domain is consuming high bandwidth<\/li>\n\n\n\n<li>Want to limit download speeds for files<\/li>\n\n\n\n<li>Need to restrict simultaneous connections<\/li>\n\n\n\n<li>Want better control over server resource usage<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Steps to Install and Configure mod_bw<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Check Apache Version<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run the following command to verify your Apache version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/apache\/bin\/httpd -v<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Download the mod_bw Module<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/usr\/src<br>wget http:\/\/ivn.cl\/files\/source\/mod_bw-0.92.tgz<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Extract the Package<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -zxf mod_bw-0.92.tgz<br>cd mod_bw<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Review Configuration Instructions<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>cat mod_bw.txt | more<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Install the Module<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/apache\/bin\/apxs -i -a -c mod_bw.c<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6. Create Configuration File<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>cat mod_bw.txt | perl -pe 's:^:# :g' &gt; \/usr\/local\/apache\/conf\/mod_bw.conf<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>7. Verify Module Configuration<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Edit the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/apache\/conf\/mod_bw.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure the following entries are enabled:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>LoadModule bw_module modules\/mod_bw.so&lt;Location \/modbw&gt;<br>    Order deny,allow<br>    Deny from all<br>    Allow from 127.0.0.1<br>    SetHandler modbw-handler<br>&lt;\/Location&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>8. Update Apache Main Configuration<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/apache\/conf\/httpd.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure these lines are present and enabled:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>LoadModule bwlimited_module modules\/mod_bwlimited.so<br>Include \"\/usr\/local\/apache\/conf\/mod_bw.conf\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>9. Add Configuration to Domain (vhost)<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the Apache configuration, include mod_bw settings for the specific domain:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Include \"\/usr\/local\/apache\/conf\/userdata\/std\/2\/username\/domainname.com\/mod_bw.conf\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>10. Configure Bandwidth Limits<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create or edit the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/apache\/conf\/userdata\/std\/2\/username\/domainname.com\/mod_bw.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following configuration:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">BandwidthModule On<br>ForceBandWidthModule On<br>Bandwidth all 100000<br>MinBandwidth all -1<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Explanation:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Bandwidth all 100000<\/code> \u2192 Limits bandwidth to ~100 KB\/s<\/li>\n\n\n\n<li><code>MinBandwidth all -1<\/code> \u2192 No minimum bandwidth restriction<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>11. Restart Apache<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Apply the changes by restarting Apache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/init.d\/httpd graceful<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Using <strong>mod_bw<\/strong> in Apache is an effective way to control bandwidth usage and limit connections for specific domains or directories. By implementing these configurations, you can prevent resource abuse, improve server performance, and ensure fair usage across hosted applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For optimal results, always monitor your server after applying limits and adjust the configuration based on your requirements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO <\/a><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center has-white-background-color has-background\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size wp-block-paragraph\">Facing issues? <\/p>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\">Our technical support<br>engineers can solve it. <\/p>\n\n\n\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" alt=\"guy server checkup\" class=\"wp-image-12943 size-full\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Managing server resources efficiently is essential for maintaining performance and stability. If a particular domain or directory is consuming excessive bandwidth, you can control its usage using the mod_bw module&hellip;<\/p>\n","protected":false},"author":4,"featured_media":16537,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[4,7,3],"tags":[],"class_list":["post-457","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-security","category-server-tweaking","category-technical-articles"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"SupportPRO Admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Server Management Tips | SupportPRO Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro\" \/>\n\t\t<meta property=\"og:description\" content=\"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1181\" \/>\n\t\t<meta property=\"og:image:height\" content=\"619\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-03-11T11:25:25+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-03-25T05:50:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#article\",\"name\":\"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro\",\"headline\":\"How to restrict number of connections per vhost\\\/dir and limit the bandwidth for files\",\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/03\\\/bandwidth.jpg\",\"width\":1181,\"height\":619,\"caption\":\"restrict number of connections per vhost\\\/dir and limit the bandwidth for files\"},\"datePublished\":\"2011-03-11T05:25:25-06:00\",\"dateModified\":\"2026-03-24T23:50:57-06:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#webpage\"},\"articleSection\":\"Server Security, Server Tweaking, Technical Articles\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/#listItem\",\"name\":\"Server\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/#listItem\",\"position\":2,\"name\":\"Server\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/#listItem\",\"name\":\"Server Security\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/#listItem\",\"position\":3,\"name\":\"Server Security\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#listItem\",\"name\":\"How to restrict number of connections per vhost\\\/dir and limit the bandwidth for files\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/#listItem\",\"name\":\"Server\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#listItem\",\"position\":4,\"name\":\"How to restrict number of connections per vhost\\\/dir and limit the bandwidth for files\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/#listItem\",\"name\":\"Server Security\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\",\"name\":\"SupportPRO\",\"description\":\"SupportPRO Blog\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"telephone\":\"+18476076123\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/\",\"name\":\"SupportPRO Admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"SupportPRO Admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#webpage\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/\",\"name\":\"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro\",\"description\":\"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/03\\\/bandwidth.jpg\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#mainImage\",\"width\":1181,\"height\":619,\"caption\":\"restrict number of connections per vhost\\\/dir and limit the bandwidth for files\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/limit-apache-bandwidth-using-mod-bw-module\\\/#mainImage\"},\"datePublished\":\"2011-03-11T05:25:25-06:00\",\"dateModified\":\"2026-03-24T23:50:57-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"name\":\"Server Management Tips\",\"description\":\"SupportPRO Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro<\/title>\n\n","aioseo_head_json":{"title":"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro","description":"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage","canonical_url":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#article","name":"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro","headline":"How to restrict number of connections per vhost\/dir and limit the bandwidth for files","author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg","width":1181,"height":619,"caption":"restrict number of connections per vhost\/dir and limit the bandwidth for files"},"datePublished":"2011-03-11T05:25:25-06:00","dateModified":"2026-03-24T23:50:57-06:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#webpage"},"isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#webpage"},"articleSection":"Server Security, Server Tweaking, Technical Articles"},{"@type":"BreadcrumbList","@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.supportpro.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/#listItem","name":"Server"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/#listItem","position":2,"name":"Server","item":"https:\/\/www.supportpro.com\/blog\/category\/server\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/#listItem","name":"Server Security"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/#listItem","position":3,"name":"Server Security","item":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#listItem","name":"How to restrict number of connections per vhost\/dir and limit the bandwidth for files"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/#listItem","name":"Server"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#listItem","position":4,"name":"How to restrict number of connections per vhost\/dir and limit the bandwidth for files","previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/#listItem","name":"Server Security"}}]},{"@type":"Organization","@id":"https:\/\/www.supportpro.com\/blog\/#organization","name":"SupportPRO","description":"SupportPRO Blog","url":"https:\/\/www.supportpro.com\/blog\/","telephone":"+18476076123"},{"@type":"Person","@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author","url":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/","name":"SupportPRO Admin","image":{"@type":"ImageObject","@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g","width":96,"height":96,"caption":"SupportPRO Admin"}},{"@type":"WebPage","@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#webpage","url":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/","name":"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro","description":"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#breadcrumblist"},"author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"creator":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg","@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#mainImage","width":1181,"height":619,"caption":"restrict number of connections per vhost\/dir and limit the bandwidth for files"},"primaryImageOfPage":{"@id":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/#mainImage"},"datePublished":"2011-03-11T05:25:25-06:00","dateModified":"2026-03-24T23:50:57-06:00"},{"@type":"WebSite","@id":"https:\/\/www.supportpro.com\/blog\/#website","url":"https:\/\/www.supportpro.com\/blog\/","name":"Server Management Tips","description":"SupportPRO Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Server Management Tips | SupportPRO Blog","og:type":"article","og:title":"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro","og:description":"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage","og:url":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/","og:image":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg","og:image:secure_url":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg","og:image:width":1181,"og:image:height":619,"article:published_time":"2011-03-11T11:25:25+00:00","article:modified_time":"2026-03-25T05:50:57+00:00","twitter:card":"summary","twitter:title":"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro","twitter:description":"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage","twitter:image":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2011\/03\/bandwidth.jpg"},"aioseo_meta_data":{"post_id":"457","title":"Limit Apache Bandwidth Using mod_bw Module Easily|SupportPro","description":"Learn how to limit bandwidth and control connections in Apache using mod_bw module. Step-by-step guide to improve server performance and resource usage","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2026-03-25 06:43:23","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2021-12-10 16:12:48","updated":"2026-05-04 08:32:36"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/server\/\" title=\"Server\">Server<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/\" title=\"Server Security\">Server Security<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to restrict number of connections per vhost\/dir and limit the bandwidth for files\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.supportpro.com\/blog"},{"label":"Server","link":"https:\/\/www.supportpro.com\/blog\/category\/server\/"},{"label":"Server Security","link":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/"},{"label":"How to restrict number of connections per vhost\/dir and limit the bandwidth for files","link":"https:\/\/www.supportpro.com\/blog\/limit-apache-bandwidth-using-mod-bw-module\/"}],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=457"}],"version-history":[{"count":12,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/457\/revisions"}],"predecessor-version":[{"id":16539,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/457\/revisions\/16539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media\/16537"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}