![]() |
You can do more with httpd than just stop/start/reload Apache. Here are some command-line options that enable you
to manipulate your configuration without changing httpd.conf.
Tip of the Trade: httpd can do more than just stop, start and reload Apache. With these command-line options, you can manipulate your configuration without tinkering with httpd.conf.
NB: Some distributions (e.g., Debian) use apache instead of
httpd. The options should all be exactly the same. If in doubt,
check the apachectl script to see what the HTTPD variable is
set to.
|
Recent Tips » less » tune2fs » LDAP and Kerberos Read All Tips of the Trade |
After you’re done with any of these, httpd -k stop; apachectl start will restart with your normal settings.
LoadModule my_other_module |
then my_other_module will be loaded only if the parameter is set.
You can use this for testing modules before adding them
permanently.
Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.