Apache httpd: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
→useful commands: apachectl |
→useful commands: apache2_invoke |
||
| Line 20: | Line 20: | ||
* <code>[[a2enmod]] {{arg|module_name}}</code> enables a module | * <code>[[a2enmod]] {{arg|module_name}}</code> enables a module | ||
* <code>[[a2dismod]] {{arg|module_name}}</code> disables a module | * <code>[[a2dismod]] {{arg|module_name}}</code> disables a module | ||
* <code>[[apache2_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 <code>/mods-available</code> and putting them in <code>/mods-enabled</code>, but this is a safe and quick way to make sure that all the necessary files are linked. | 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 <code>/mods-available</code> and putting them in <code>/mods-enabled</code>, but this is a safe and quick way to make sure that all the necessary files are linked. | ||
Revision as of 11:24, 13 February 2018
<hide> page type::article thing type::software architecture::server purpose::web server license::open source </hide>
About
This page is about the Apache web server software.
Subpages
- /.htaccess
- /mod_rewrite
- /SSL: configuring Apache to serve https (SSL)
Related Pages
useful commands
apachectla2enmod <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.
Links
Official
