Apache httpd

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Revision as of 13:01, 5 January 2018 by Woozle (talk | contribs) (module commands)
Jump to navigation Jump to search

About

This page is about the Apache web server software.

Subpages

Related Pages

useful commands

  • a2enmod <module_name> enables a module
  • a2dismod <module_name> disables a module

Enabling a module is usually just a matter of making links from the module's configuration files (sometimes there is more than one file) in /mods-available and putting them in /mods-enabled, but this is a safe and quick way to make sure that all the necessary files are linked.

To see all accesses to your Apache server in more-or-less real-time, run the following from your Apache logfile directory:

find . -name "*.log" | xargs tail -f

Note that if you are using Virtualmin to configure Apache, logfiles for the domains will probably be in /var/log/virtualmin.

Links

Official