OnWorks favicon

dh_apache2 - Online in the Cloud

Run dh_apache2 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dh_apache2 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dh_apache2 - register configuration snippets to the Apache web server


dh_apache2 [debhelper options] [--conditional=expression] [--error-handler=function]


dh_apache2 is a debhelper program that is responsible for correctly installing Apache2
configuration snippets and setting postinst, prerm and dependencies in Apache2 web server
modules and web applications.

It supports the following configuration types

· Apache2 modules

· Apache2 configuration snippets for web applications

· Apache2 sites

dh_apache2 supports two modes: A limited auto-configuration heuristic or alternatively a
configuration file driven approach. If a file named debian/package.apache2 exists, actual
actions are determined by that file.


dh_apache2 can be used in two modes: A configuration file driven approach and a heuristic
approach. The configuration driven mode is fully documented in the FILES section below.
This mode is activated by supplying a debhelper(7) configuration file (e.g.

The alternative is a heuristic mode, in which no files are installed through dh_apache2.
Instead the helper will scan the package installation directory for recognized files and
guess their purpose depending on their installation path in the file system. Use with


dh_apache2 is not part of debhelper and might require information available in the
apache2-dev package. Packages making use of dh_apache2 should declare a build-dependency
against the virtual dh-apache2 package.

dh_apache2 supports both, called directly from a debian/rules file or as dh(1) addon. In
the former case the helper should run after dh_install(1) or their respective counter
parts in local implementations at earliest. Alternatively it can be used as dh addon by
invoking it with

dh $@ --with apache2

Use dh_apache2 online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    XyZerKunG ServerTool
    XyZerKunG ServerTool
    XyZerKunG ServerTool helps you to make
    your own Minecraft server and play with
    your friend for a few minutes.
    Features:Automatically create a
    Minecraft serverU...
    Download XyZerKunG ServerTool
  • 2
    Java source intended to serve as a
    nexus for teaching both mathematics and
    software solutions for computation on
    iterative equations. Public interfaces
    allow a...
    Download CalcTools
  • 3
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Download Rocket.Chat Desktop Client
  • 4
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 5
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 6
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • More »

Linux commands