Sign inSign up

elswork/apache2-utils

By elswork

Updated over 2 years ago

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

Image
1

10K+

elswork/apache2-utils repository overview

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

Docker PullsDocker StarsSizeSponsors
Docker pullsDocker starsDocker Image sizeGitHub 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

Tag summary

Content type

Image

Digest

sha256:a76a755af

Size

3.6 MB

Last updated

over 2 years ago

docker pull elswork/apache2-utils