Difference between revisions of "Apache httpd"
Jump to navigation
Jump to search
(module commands) |
(→useful commands: apachectl) |
||
Line 17: | Line 17: | ||
* [[Apache and PHP]] | * [[Apache and PHP]] | ||
===useful commands=== | ===useful commands=== | ||
+ | * <code>[[apachectl]]</code> | ||
* <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 | ||
Line 24: | Line 25: | ||
<syntaxhighlight lang=bash>find . -name "*.log" | xargs tail -f</syntaxhighlight> | <syntaxhighlight lang=bash>find . -name "*.log" | xargs tail -f</syntaxhighlight> | ||
Note that if you are using [[Virtualmin]] to configure Apache, logfiles for the domains will probably be in <code>/var/log/virtualmin</code>. | Note that if you are using [[Virtualmin]] to configure Apache, logfiles for the domains will probably be in <code>/var/log/virtualmin</code>. | ||
+ | |||
==Links== | ==Links== | ||
===Official=== | ===Official=== | ||
* [http://httpd.apache.org Apache HTTP Server homepage] | * [http://httpd.apache.org Apache HTTP Server homepage] |
Revision as of 13:57, 13 January 2018
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
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
.