Skip to content

A Docker file to build apache2-utils a set of utility programs for web servers.

License

Notifications You must be signed in to change notification settings

elswork/apache2-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache2-utils

A Docker file to build apache2-utils a set of utility programs for web servers.

Be aware! You should read carefully the usage documentation of every tool!

Provides some add-on programs useful for any web server. These include:

  • ab (Apache benchmark tool)
  • fcgistarter (Start a FastCGI program)
  • logresolve (Resolve IP addresses to hostnames in logfiles)
  • htpasswd (Manipulate basic authentication files)
  • htdigest (Manipulate digest authentication files)
  • htdbm (Manipulate basic authentication files in DBM format, using APR)
  • htcacheclean (Clean up the disk cache)
  • rotatelogs (Periodically stop writing to a logfile and open a new one)
  • split-logfile (Split a single log including multiple vhosts)
  • checkgid (Checks whether the caller can setgid to the specified group)
  • check_forensic (Extract mod_log_forensic output from Apache log files)
  • httxt2dbm (Generate dbm files for use with RewriteMap)

Details

Website GitHub Docker Hub
Deft.Work my personal blog apache2-utils apache2-utils
Docker Pulls Docker Stars Size Sponsors
Docker pulls Docker stars Docker Image size GitHub Sponsors

Build Instructions

Build for amd64, armv7l or arm64 architecture (thanks to its Multi-Arch base image)

docker build -t elswork/apache2-utils .

Usage Example

AB Benchmark

docker run --rm elswork/apache2-utils \
ab https://www.theworldsworstwebsiteever.com/

or

make bench SITE=https://www.theworldsworstwebsiteever.com/

OPTIONALLY you can use these parameters before site URL: -c, --connections: total number of HTTP connections to keep open with each thread handling N = connections/threads

-d, --duration:    duration of the test, e.g. 2s, 2m, 2h

-t, --threads:     total number of threads to use

-s, --script:      LuaJIT script, see SCRIPTING

-H, --header:      HTTP header to add to request, e.g. "User-Agent: apache2-utils"

    --latency:     print detailed latency statistics

    --timeout:     record a timeout if a response is not received within
                   this amount of time.

Sponsor me! Together we will be unstoppable.

Other ways to fund me:

GitHub Sponsors Donate PayPal

About

A Docker file to build apache2-utils a set of utility programs for web servers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published