Apache2

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

For previous version of Apache see Apache_Web_Server

Apache2 is an update to the Apache Web Server. changes between the 1.3 and 2.0 versions of the Apache HTTP Server

With Apache 2.4 in Debian Jessie the Multi-Processing Module used is no longer selected by installing one of the apache2-mpm- packages. MPM modules are enabled and disabled using the a2enmod and a2dismod commands just like with any other module. Only one MPM may be used at a time.

Installation

The Apache2 web server is available in Ubuntu / Mint Linux. To install Apache2:

At a terminal prompt enter the following command:

sudo apt install apache2

Apache2 is configured by placing directives in plain text configuration files.

  • All files that were previously in /etc/apache2/conf.d should be moved to /etc/apache2/conf-available.


Troubleshooting

apache2.service

test

systemctl status apache2.service
journalctl -xe

test configuration

sudo apache2ctl configtest