Repost from Beergarden: How to add an Apache module

Sorry but I got no big help in the beergarden, and hope somebody here can help me:

I have found the following “Bandwidth Thottling” module for Apache http://www.topology.org/src/bwshare/README.html

However I get stock in the installation which says:

“To install mod_bwshare with static linkage, create a directory apache/src/modules/bwshare in your apache source tree.”

Where is my Apache Source tree?

I browsed all over and cannot find it!

/etc/httpd/modules

I bleieve


[root@iworx modules]# dir
libphp4.so          mod_cgid.so        mod_include.so        mod_rewrite.so
mod_access.so       mod_cgi.so         mod_info.so           mod_setenvif.so
mod_actions.so      mod_dav_fs.so      mod_log_config.so     mod_speling.so
mod_alias.so        mod_dav.so         mod_log_forensic.so   mod_ssl.so
mod_asis.so         mod_deflate.so     mod_mem_cache.so      mod_status.so
mod_auth_anon.so    mod_dir.so         mod_mime_magic.so     mod_suexec.so
mod_auth_dbm.so     mod_disk_cache.so  mod_mime.so           mod_unique_id.so
mod_auth_digest.so  mod_env.so         mod_negotiation.so    mod_userdir.so
mod_auth.so         mod_expires.so     mod_proxy_connect.so  mod_usertrack.so
mod_autoindex.so    mod_ext_filter.so  mod_proxy_ftp.so      mod_vhost_alias.so
mod_cache.so        mod_headers.so     mod_proxy_http.so     mod_watch.so
mod_cern_meta.so    mod_imap.so        mod_proxy.so

Thanks Tim.

But what are so files? I am totally lost here! The instructions in the link I posted does not do me any good. Damn :frowning:

I really need a throttle module on my server as people who download large video clips slows down everything.

Those files are the other apache modules, I suspect the instructions you posted are for apache 1.3.3, I haven’t had time to read them so I 'm not sure, but I can’t find a directory like

apache/src/modules/bwshare

In fact there is no “apache” directory at all that I can find, with 2.0 the name of apache changed to httpd