Difference between revisions of "apachectl"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(Created page with "{{seed}} ==Links== ===Reference=== * [https://httpd.apache.org/docs/2.4/programs/apachectl.html Apache official] * [https://www.commandlinux.com/man-page/man8/apachectl.8.html...")
 
Line 1: Line 1:
 
{{seed}}
 
{{seed}}
 +
==Options==
 +
* <code>apachectl configtest</code> : tests the current configuration without trying to load it (which could result in Apache not running), and gives diagnostic information
 +
* <code>apachectl -M</code> : shows loaded modules<ref name=sof />
 +
* <code>apachectl -S</code> : dumps the entire config<ref name=sof /> (works in v2.4)
 
==Links==
 
==Links==
 
===Reference===
 
===Reference===
 
* [https://httpd.apache.org/docs/2.4/programs/apachectl.html Apache official]
 
* [https://httpd.apache.org/docs/2.4/programs/apachectl.html Apache official]
 
* [https://www.commandlinux.com/man-page/man8/apachectl.8.html Linux Commands]
 
* [https://www.commandlinux.com/man-page/man8/apachectl.8.html Linux Commands]
 +
==Footnote==
 +
<references>
 +
<ref name=sof>'''2014-11-26''' [https://stackoverflow.com/questions/27152943/how-can-i-view-the-complete-httpd-configuration How can I view the complete httpd configuration?]</ref>
 +
</references>

Revision as of 00:36, 10 July 2021

This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!

Options

  • apachectl configtest : tests the current configuration without trying to load it (which could result in Apache not running), and gives diagnostic information
  • apachectl -M : shows loaded modules[1]
  • apachectl -S : dumps the entire config[1] (works in v2.4)

Links

Reference

Footnote