pavement

Apachectl

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(minor updates)
m (Reverted edits by DavidYoung (talk) to last revision by Jimbo)
 
Line 12: Line 12:
  
 
[[Category:System Commands]]
 
[[Category:System Commands]]
 
== Behind the Beautiful Forevers ==
 
 
For two decades, and currently at The New Yorker, youve written about the distribution of opportunity, and the means by which people might get out of poverty, in America. What inspired you to start asking the same kinds of questions in India?
 
 
[[http://goodvillenews.com/Behind-the-Beautiful-Forevers-YtCKM3.html Behind the Beautiful Forevers]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Man Builds Fairy Tale Home for $4700 ==
 
 
Simon Dale is a family man in Wales, the western part of Great Britain. His interest in self-sustainability and an ecological awareness led him to dig out and build his own homeone of the loveliest, warmest, most inviting dwellings you could ever imagine. And it cost him only 3,000, about $4,700 American dollars!
 
 
[[http://goodvillenews.com/Man-Builds-Fairy-Tale-Home-for-4700-CHIO9L.html Man Builds Fairy Tale Home for $4700]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Solar Device Brings Natural Light to Workers ==
 
 
Fluorescent lights are often seen as the brunt of an artificial working environment, but office workers around the world could soon have sunnier dispositions.
 
 
[[http://goodvillenews.com/Solar-Device-Brings-Natural-Light-to-Workers-sz7hN4.html Solar Device Brings Natural Light to Workers]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Champ Helps Injured Competitor Across Finish Line ==
 
 
Sometimes, a simple gesture can take on a much greater meaning. During an Ohio track meet, Meghan Vogel sacrificed her own position to help Arden McMath, a fellow runner who fell down finish the race.
 
 
[[http://goodvillenews.com/Champ-Helps-Injured-Competitor-Across-Finish-Line-zzvVfj.html Champ Helps Injured Competitor Across Finish Line]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== What Ive Learned About Learning ==
 
 
We learn more by looking for the answer to a question and not finding it than we do from learning the answer itself. ~Lloyd AlexanderI am a teacher and an avid learner, and Im passionate about both.Im a teacher because I help Eva homeschool our kids OK, she does most of the work, but I do help, mostly with math but with everything else too.
 
 
[[http://goodvillenews.com/What-Ive-Learned-About-Learning-I45BZI.html What Ive Learned About Learning]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 

Latest revision as of 17:30, 25 August 2012

apachectl is a simple tool used to make it easier to start and stop the apache webserver.

apachectl start - starts the webserver. Reports whether or not it successfully started the server, but DON'T take its word for it - apachectl often lies through its bloody teeth. Use ps ax | grep http to double-check that apache is really running.

apachectl stop - stops the webserver. You can probably trust this. =)

apachectl restart - similar to apachectl stop immediately followed by apachectl start. However note that the master process does not die thus different parameters passed on the command line will take effect e.g. -DSSL.

apachectl graceful - very handy for high-traffic production webservers. Works like apachectl restart, except that it does not kill any existing processes until they've finished what they're doing - net effect being that even if you have 100 concurrent users accessing websites on the machine, none of them should have any idea that you restarted apache, no matter when they click to try to load a page. See above re: believing what it tells you - do NOT assume that it really did restart successfully without checking behind it with a ps ax | grep http.

apachectl configtest - will either return Syntax OK or a detailed description of what it thinks is wrong with your httpd.conf. Use this if you can't get Apache started.

Personal tools