Difference between revisions of "Apache httpd"
Jump to navigation
Jump to search
m (Woozle moved page Apache web server to Apache httpd: more accurate) |
|
(No difference)
|
Revision as of 14:49, 1 April 2022
About
This page is about the Apache web server software.
Subpages
- /.htaccess
- /mod_rewrite
- /SSL: configuring Apache to serve https (SSL)
- /variables: the
${varname}
syntax in Apache's config files
Related Pages
useful commands
apachectl
apachectl configtest
tests the current configuration without trying to load it (which could result in Apache not running), and gives diagnostic information
a2enmod <module_name>
enables a modulea2dismod <module_name>
disables a moduleapache2_invoke: just noticed this in an update, not sure what it does (something like a2enmod?)
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
.