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